Merge "Always allow to trigger config change if decor insets change" into tm-qpr-dev

This commit is contained in:
Riddle Hsu
2022-09-08 10:17:12 +00:00
committed by Android (Google) Code Review

View File

@@ -2184,9 +2184,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) {