Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit feb686fe authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Adjust animation end callback for SystemUI" into main

parents f72b21ed debadca4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -267,6 +267,16 @@ flag {
  }
}

flag {
  name: "system_ui_post_animation_end"
  namespace: "windowing_frontend"
  description: "Run AnimatorListener#onAnimationEnd on next frame for SystemUI"
  bug: "300035126"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
  name: "system_ui_immersive_confirmation_dialog"
  namespace: "windowing_frontend"
+4 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.systemui;

import android.animation.Animator;
import android.annotation.SuppressLint;
import android.app.ActivityThread;
import android.app.Application;
@@ -135,6 +136,9 @@ public class SystemUIApplication extends Application implements
        if (Flags.enableLayoutTracing()) {
            View.setTraceLayoutSteps(true);
        }
        if (com.android.window.flags.Flags.systemUiPostAnimationEnd()) {
            Animator.setPostNotifyEndListenerEnabled(true);
        }

        if (mProcessWrapper.isSystemUser()) {
            IntentFilter bootCompletedFilter = new