diff options
author | yueg <yueg@google.com> | 2017-09-22 17:01:43 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-09-25 08:51:43 -0700 |
commit | 345b0e1ec3a435e49b36bfc6d415024a5361157f (patch) | |
tree | 7a8952d76683873d937467192f1810366cb61a97 /java/com/android/dialer/app/calllog | |
parent | 1e80bdd0a34901d8ccd3c097e2e39cd357d939d1 (diff) |
Fix crash on ending call.
We moved onUiShowing() call from InCallActivityCommon.onPause to onStop in
cl/169615685, which causes the crash since InCallPresenter is cleared up before
calling onUiShowing() and mContext is null at that time.
This CL fix the crash by also moving the clearup(InCallPresenter.unsetActivity()) from onPause
to onStop. It also makes sense because InCallPresenter.onActivityStarted() is
called in onStart instead of onPause.
Test: manual
PiperOrigin-RevId: 169756942
Change-Id: I222009be1b672f8a6dcb8bfdcea2d633c5810575
Diffstat (limited to 'java/com/android/dialer/app/calllog')
0 files changed, 0 insertions, 0 deletions