Merge "Allow to move SCM Letterbox with Taskbar visible" into tm-qpr-dev am: b0830a8f80
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21442504 Change-Id: I227092bb265966429065d69219120bd75805d6d6 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