Fix egregious state check for window focusability.
am: 3d0a74a9e4
Change-Id: I68aac94729227b30e2ba05bf2e89afae5a9debbf
This commit is contained in:
@@ -1970,7 +1970,7 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
|
||||
return false;
|
||||
}
|
||||
|
||||
final boolean windowsAreFocusable = mAppToken != null && mAppToken.windowsAreFocusable();
|
||||
final boolean windowsAreFocusable = mAppToken == null || mAppToken.windowsAreFocusable();
|
||||
if (!windowsAreFocusable) {
|
||||
// This window can't be an IME target if the app's windows should not be focusable.
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user