Merge "Allow to move SCM Letterbox with Taskbar visible" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b0830a8f80
@@ -962,8 +962,8 @@ final class LetterboxUiController {
|
|||||||
&& (parentConfiguration.orientation == ORIENTATION_LANDSCAPE
|
&& (parentConfiguration.orientation == ORIENTATION_LANDSCAPE
|
||||||
&& mActivityRecord.getOrientationForReachability() == ORIENTATION_PORTRAIT)
|
&& mActivityRecord.getOrientationForReachability() == ORIENTATION_PORTRAIT)
|
||||||
// Check whether the activity fills the parent vertically.
|
// Check whether the activity fills the parent vertically.
|
||||||
&& parentConfiguration.windowConfiguration.getBounds().height()
|
&& parentConfiguration.windowConfiguration.getAppBounds().height()
|
||||||
== mActivityRecord.getBounds().height();
|
<= mActivityRecord.getBounds().height();
|
||||||
}
|
}
|
||||||
|
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
|
|||||||
Reference in New Issue
Block a user