summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/res
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2018-04-03 13:51:52 -0700
committerCopybara-Service <copybara-piper@google.com>2018-04-03 17:07:21 -0700
commitb7309895fa82beb4b7ceeb5f66ec3b1ecff16738 (patch)
tree963d83166b27c9e94c8ea03665bcefe8b6ca1a0a /java/com/android/incallui/res
parent8be68867cd328911a440eec2ba53f52f80aa28c6 (diff)
Don't deadlock in DialerDatabaseHelper.
The fix is to use FutureSerializer instead of synchronizing on the method. FutureSerializer provides the guarantee that the next AsyncCallable won't even be submitted until the ListenableFuture returned by the previous one completes. Bug: 73877234 Test: added sleep to update task, and verified that resuming activity > 5 times does not deadlock the app PiperOrigin-RevId: 191494662 Change-Id: I5dc2bed7e117fd3ba5a3cd6a8c39c82a565ce070
Diffstat (limited to 'java/com/android/incallui/res')
0 files changed, 0 insertions, 0 deletions