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:
Tiger Huang
2022-04-29 18:25:44 +00:00
committed by Automerger Merge Worker

View File

@@ -83,7 +83,7 @@ public class DisplayFrames {
final Rect safe = mDisplayCutoutSafe;
final DisplayCutout cutout = displayCutout.getDisplayCutout();
if (mDisplayWidth == info.logicalWidth && mDisplayHeight == info.logicalHeight
&& mRotation != info.rotation
&& mRotation == info.rotation
&& state.getDisplayCutout().equals(cutout)
&& state.getRoundedCorners().equals(roundedCorners)
&& state.getPrivacyIndicatorBounds().equals(indicatorBounds)) {