diff options
author | Chaitanya Saggurthi <csaggurt@qti.qualcomm.com> | 2015-07-28 19:30:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-07-28 19:30:18 +0000 |
commit | 72583a9c8c1d922d80e69d4218e51e641c068621 (patch) | |
tree | 4278ddf2da1f124e619daebaf220fb536d05a2a2 | |
parent | 5818d2ba74e2d6ef5bdfb4df5c63db2e0763ce85 (diff) | |
parent | 4d1807e6b5a75c556a22084367d18229e933a38e (diff) |
am e87e4a8a: am f8f94b2f: InCallUI not dismissing after end call is clicked.
* commit 'e87e4a8a8ce9c4d7033a886b36639adcb7c36dd9':
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(); |