Loading core/java/android/window/flags/windowing_frontend.aconfig +10 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,16 @@ flag { } } flag { name: "blast_sync_notification_shade_on_display_switch" namespace: "windowing_frontend" description: "Make the buffer content of notification shade synchronize with display switch" bug: "337154331" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "edge_to_edge_by_default" namespace: "windowing_frontend" Loading services/core/java/com/android/server/wm/DeferredDisplayUpdater.java +10 −0 Original line number Diff line number Diff line Loading @@ -194,6 +194,16 @@ public class DeferredDisplayUpdater implements DisplayUpdater { final Rect startBounds = new Rect(0, 0, mDisplayContent.mInitialDisplayWidth, mDisplayContent.mInitialDisplayHeight); final int fromRotation = mDisplayContent.getRotation(); if (Flags.blastSyncNotificationShadeOnDisplaySwitch() && physicalDisplayUpdated) { final WindowState notificationShade = mDisplayContent.getDisplayPolicy().getNotificationShade(); if (notificationShade != null && notificationShade.isVisible() && mDisplayContent.mAtmService.mKeyguardController.isKeyguardOrAodShowing( mDisplayContent.mDisplayId)) { Slog.i(TAG, notificationShade + " uses blast for display switch"); notificationShade.mSyncMethodOverride = BLASTSyncEngine.METHOD_BLAST; } } mDisplayContent.mAtmService.deferWindowLayout(); try { Loading Loading
core/java/android/window/flags/windowing_frontend.aconfig +10 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,16 @@ flag { } } flag { name: "blast_sync_notification_shade_on_display_switch" namespace: "windowing_frontend" description: "Make the buffer content of notification shade synchronize with display switch" bug: "337154331" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "edge_to_edge_by_default" namespace: "windowing_frontend" Loading
services/core/java/com/android/server/wm/DeferredDisplayUpdater.java +10 −0 Original line number Diff line number Diff line Loading @@ -194,6 +194,16 @@ public class DeferredDisplayUpdater implements DisplayUpdater { final Rect startBounds = new Rect(0, 0, mDisplayContent.mInitialDisplayWidth, mDisplayContent.mInitialDisplayHeight); final int fromRotation = mDisplayContent.getRotation(); if (Flags.blastSyncNotificationShadeOnDisplaySwitch() && physicalDisplayUpdated) { final WindowState notificationShade = mDisplayContent.getDisplayPolicy().getNotificationShade(); if (notificationShade != null && notificationShade.isVisible() && mDisplayContent.mAtmService.mKeyguardController.isKeyguardOrAodShowing( mDisplayContent.mDisplayId)) { Slog.i(TAG, notificationShade + " uses blast for display switch"); notificationShade.mSyncMethodOverride = BLASTSyncEngine.METHOD_BLAST; } } mDisplayContent.mAtmService.deferWindowLayout(); try { Loading