diff options
author | Yorke Lee <yorkelee@google.com> | 2014-03-18 16:42:27 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-03-18 16:42:28 +0000 |
commit | 5b5789adc1cfb9d0bcf49dd78f6b9e2299773a3f (patch) | |
tree | 250ec328734ec3f4c219b45bf9beb4a8ba948db2 | |
parent | b51a9dfbd60f32821961ef0c91884fefb88a0bfe (diff) | |
parent | 515c21d4601e46ae97aee84cfc98d48453c16547 (diff) |
Merge "Request FLAG_SHOW_WHEN_LOCKED for respond via text dialogs"
-rw-r--r-- | InCallUI/src/com/android/incallui/AnswerFragment.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/AnswerFragment.java b/InCallUI/src/com/android/incallui/AnswerFragment.java index 0b81ffee1..c76c5071b 100644 --- a/InCallUI/src/com/android/incallui/AnswerFragment.java +++ b/InCallUI/src/com/android/incallui/AnswerFragment.java @@ -156,6 +156,7 @@ public class AnswerFragment extends BaseFragment<AnswerPresenter, AnswerPresente } }); mCannedResponsePopup = builder.create(); + mCannedResponsePopup.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); mCannedResponsePopup.show(); } @@ -261,6 +262,7 @@ public class AnswerFragment extends BaseFragment<AnswerPresenter, AnswerPresente // Keyboard up, show the dialog mCustomMessagePopup.getWindow().setSoftInputMode( WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); + mCustomMessagePopup.getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED); mCustomMessagePopup.show(); // Send button starts out disabled |