summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaitanya Saggurthi <csaggurt@qti.qualcomm.com>2015-07-28 19:48:18 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-28 19:48:18 +0000
commit83eced6b69a8dd71337df22b2f6cbc7c5f017c55 (patch)
tree3705997856069c23496debcd96bb6e20fffdca0e
parent95c75e069d6bcc0577a6c26bbe54f39b4e5bd2ea (diff)
parent72583a9c8c1d922d80e69d4218e51e641c068621 (diff)
am 46890059: am e87e4a8a: am f8f94b2f: InCallUI not dismissing after end call is clicked.
* commit '46890059ff47195f6fd8b8bed5bbeeeb40cd607c': InCallUI not dismissing after end call is clicked.
-rw-r--r--InCallUI/src/com/android/incallui/AnswerFragment.java7
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();