diff options
author | Chaitanya Saggurthi <csaggurt@qti.qualcomm.com> | 2015-07-28 19:04:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-28 19:04:52 +0000 |
commit | 4d1807e6b5a75c556a22084367d18229e933a38e (patch) | |
tree | 39b86258513c88b62be4129f8865f871cc7b6b3e | |
parent | 16c4b2a5ba49a24419330f95da77479962387b37 (diff) | |
parent | 7632fdfb271be341f9300888721cf410e5409161 (diff) |
am f8f94b2f: InCallUI not dismissing after end call is clicked.
* commit 'f8f94b2f55f9c63280aceb08876d9e02f90a6f71':
InCallUI not dismissing after end call is clicked.
-rw-r--r-- | InCallUI/src/com/android/incallui/AnswerFragment.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/AnswerFragment.java b/InCallUI/src/com/android/incallui/AnswerFragment.java index 50428d650..7c67719b0 100644 --- a/InCallUI/src/com/android/incallui/AnswerFragment.java +++ b/InCallUI/src/com/android/incallui/AnswerFragment.java @@ -297,6 +297,13 @@ public class AnswerFragment extends BaseFragment<AnswerPresenter, AnswerPresente getPresenter().onDismissDialog(); } }) + .setOnCancelListener(new DialogInterface.OnCancelListener() { + @Override + public void onCancel(DialogInterface dialogInterface) { + dismissCustomMessagePopup(); + getPresenter().onDismissDialog(); + } + }) .setTitle(R.string.respond_via_sms_custom_message); mCustomMessagePopup = builder.create(); |