Fix IME layout
When introducing the fitToDisplay variable, it should have been fitToDisplay = task != null -> (implies) !task.isFloating(); but was written as task != null && !task.isFloating. Bug: 28182018 Change-Id: If0be86f1ed8bb88914ce167e9f5273b6b3dc2571
This commit is contained in:
@@ -2608,7 +2608,7 @@ final class WindowState implements WindowManagerPolicy.WindowState {
|
||||
final int ph = containingFrame.height();
|
||||
final Task task = getTask();
|
||||
final boolean nonFullscreenTask = isInMultiWindowMode();
|
||||
final boolean fitToDisplay = task != null && !nonFullscreenTask && !layoutInParentFrame();
|
||||
final boolean fitToDisplay = (task == null || !nonFullscreenTask) && !layoutInParentFrame();
|
||||
float x, y;
|
||||
int w,h;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user