summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/proguard
diff options
context:
space:
mode:
authoryueg <yueg@google.com>2017-09-05 11:31:47 -0700
committerEric Erfanian <erfanian@google.com>2017-09-11 10:56:28 -0700
commit6a80c8282d5dcb3749573baa2f3769204859307a (patch)
treea07d7f64ac43aa49c79dbf504a4ae51e4df35451 /java/com/android/dialer/proguard
parent9effa5c8840b462f58a1844693776a3b7bfccb1b (diff)
Fix bubble crash when dismiss audio route selector dialog.
When AudioRouteSelectorDialogFragment tries to call onAudioRouteSelectorDismiss() on its parent AudioRouteSelectorActivity, the parent might already finish, which causes NPE. We should make sure the fragment is dismissed and removed before the activity finished. We do it when activity onPause because we don't expect it to resume. Test: AudioRouteSelectorDialogFragmentTest PiperOrigin-RevId: 167607068 Change-Id: Ifd2efcc92eb45262da2c6441bfac8119799d78f2
Diffstat (limited to 'java/com/android/dialer/proguard')
0 files changed, 0 insertions, 0 deletions