summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaitanya Saggurthi <csaggurt@qti.qualcomm.com>2015-07-28 20:12:13 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-28 20:12:13 +0000
commit798ad89761c04e7a3b3df5bb05c313193f38daa2 (patch)
tree3705997856069c23496debcd96bb6e20fffdca0e
parent1b4f2ec8501a83675489ecba4282f0744df8f340 (diff)
parent83eced6b69a8dd71337df22b2f6cbc7c5f017c55 (diff)
am 4d0d81f7: am 46890059: am e87e4a8a: am f8f94b2f: InCallUI not dismissing after end call is clicked.
* commit '4d0d81f760d7512754d5e11d18cb4308d4ad6af7': 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();