Merge "Allow to move SCM Letterbox with Taskbar visible" into tm-qpr-dev am: b0830a8f80 am: 266527554d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21442504 Change-Id: I7a9a01cd629a1752ed8fef3c610096bb25b17b17 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -962,8 +962,8 @@ final class LetterboxUiController {
|
||||
&& (parentConfiguration.orientation == ORIENTATION_LANDSCAPE
|
||||
&& mActivityRecord.getOrientationForReachability() == ORIENTATION_PORTRAIT)
|
||||
// Check whether the activity fills the parent vertically.
|
||||
&& parentConfiguration.windowConfiguration.getBounds().height()
|
||||
== mActivityRecord.getBounds().height();
|
||||
&& parentConfiguration.windowConfiguration.getAppBounds().height()
|
||||
<= mActivityRecord.getBounds().height();
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
|
||||
Reference in New Issue
Block a user