diff options
| author | 2024-06-19 12:48:04 +0000 | |
|---|---|---|
| committer | 2024-06-19 12:48:04 +0000 | |
| commit | da8df84a743f36799904abd19695cc2ba2f84ece (patch) | |
| tree | 70b83e39c6e95baa591b7ea208d3a5c466f078d7 | |
| parent | 74fc88ee88baec5aa6db92d841ad4e535d84dd01 (diff) | |
| parent | b9db1edd2d5e4a99a6c3b6bfbb3253546e383998 (diff) | |
Merge "LOCKSCREEN->AOD on FOLD: Hide NPVC" into main
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java index 9624e0ffcf26..71fe3712aaa4 100644 --- a/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java +++ b/packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java @@ -3390,7 +3390,9 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump /** Updates the views to the initial state for the fold to AOD animation. */ @Override public void prepareFoldToAodAnimation() { - if (!MigrateClocksToBlueprint.isEnabled()) { + if (MigrateClocksToBlueprint.isEnabled()) { + setDozing(true /* dozing */, false /* animate */); + } else { // Force show AOD UI even if we are not locked showAodUi(); } |