Merge "Skip updating DisplayFrames when everything is the same" into tm-dev am: 77305dced2 am: 2f050e447e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18030582 Change-Id: I328021606b79da691fa737c0a952e854ff2b9290 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -83,7 +83,7 @@ public class DisplayFrames {
|
|||||||
final Rect safe = mDisplayCutoutSafe;
|
final Rect safe = mDisplayCutoutSafe;
|
||||||
final DisplayCutout cutout = displayCutout.getDisplayCutout();
|
final DisplayCutout cutout = displayCutout.getDisplayCutout();
|
||||||
if (mDisplayWidth == info.logicalWidth && mDisplayHeight == info.logicalHeight
|
if (mDisplayWidth == info.logicalWidth && mDisplayHeight == info.logicalHeight
|
||||||
&& mRotation != info.rotation
|
&& mRotation == info.rotation
|
||||||
&& state.getDisplayCutout().equals(cutout)
|
&& state.getDisplayCutout().equals(cutout)
|
||||||
&& state.getRoundedCorners().equals(roundedCorners)
|
&& state.getRoundedCorners().equals(roundedCorners)
|
||||||
&& state.getPrivacyIndicatorBounds().equals(indicatorBounds)) {
|
&& state.getPrivacyIndicatorBounds().equals(indicatorBounds)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user