summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calldetails
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2017-10-13 17:53:18 -0700
committerEric Erfanian <erfanian@google.com>2017-10-13 18:03:41 -0700
commit20c2ff76b873471d41abf34b98abb414e4605c36 (patch)
tree07cd8d9e54558ed3e773871179726dd76e99c3bf /java/com/android/dialer/calldetails
parent2754c0150ceb627f0fd583c1b29bc752ffc24312 (diff)
Fixed crash which occurred when clearing call log containing enriched call data.
There was a race where the dialog could sometimes get detached before the success callback finished. The callback would attempt to show a snackbar using [fragment.]getString(), which throws when the fragment is detached. The fix is to just use the activity to get the string (which has already been asserted to be valid). Bug: 65968151 Test: unit PiperOrigin-RevId: 172169503 Change-Id: If86250b14038958e6668b26d1f150619fe3eefae
Diffstat (limited to 'java/com/android/dialer/calldetails')
0 files changed, 0 insertions, 0 deletions