Merge "Always allow to trigger config change if decor insets change" into tm-qpr-dev am: fefd3b2bb3 am: 51fc21d9cc

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19889692

Change-Id: Ic1cc0243e055882ffdf911f082a0205dda0de8ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Riddle Hsu
2022-09-08 12:38:34 +00:00
committed by Automerger Merge Worker

View File

@@ -2183,9 +2183,7 @@ public class DisplayPolicy {
}
mDecorInsets.invalidate();
mDecorInsets.mInfoForRotation[rotation].set(newInfo);
// If the device is booting, let the boot procedure trigger the new configuration.
// Otherwise the display configuration needs to be recomputed now.
return mService.mDisplayEnabled;
return true;
}
DecorInsets.Info getDecorInsetsInfo(int rotation, int w, int h) {