Merge "Don't show IME on power menu popups" into rvc-dev am: 2801d98bfa am: fc4d505192
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936019 Change-Id: Id7b7e198e03d532fa87b383126a3a3737a07aedb
This commit is contained in:
@@ -54,6 +54,7 @@ public class GlobalActionsPopupMenu extends ListPopupWindow {
|
||||
|
||||
// required to show above the global actions dialog
|
||||
setWindowLayoutType(WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY);
|
||||
setInputMethodMode(INPUT_METHOD_NOT_NEEDED);
|
||||
setModal(true);
|
||||
|
||||
mGlobalActionsSidePadding = res.getDimensionPixelSize(R.dimen.global_actions_side_margin);
|
||||
|
||||
@@ -54,6 +54,7 @@ public class GlobalActionsPowerDialog {
|
||||
window.setTitle(""); // prevent Talkback from speaking first item name twice
|
||||
window.setBackgroundDrawable(res.getDrawable(
|
||||
com.android.systemui.R.drawable.control_background, context.getTheme()));
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
||||
|
||||
return dialog;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user