summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-06-19 12:48:04 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-06-19 12:48:04 +0000
commitda8df84a743f36799904abd19695cc2ba2f84ece (patch)
tree70b83e39c6e95baa591b7ea208d3a5c466f078d7
parent74fc88ee88baec5aa6db92d841ad4e535d84dd01 (diff)
parentb9db1edd2d5e4a99a6c3b6bfbb3253546e383998 (diff)
Merge "LOCKSCREEN->AOD on FOLD: Hide NPVC" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/shade/NotificationPanelViewController.java4
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();
}