commit | 09fc80de5ad8608f131e13f097a4eea6ea64e39b | [log] [tgz] |
---|---|---|
author | Tracy Zhou <[email protected]> | Fri Sep 20 20:00:49 2024 -0700 |
committer | Tracy Zhou <[email protected]> | Fri Sep 20 22:46:49 2024 -0700 |
tree | 69c2786266685ce12dc93a2cace2973d3d8b0f31 | |
parent | 97344c760045dd600bcb23793604a31a8d64c088 [diff] |
Start region sampling once app transition starts, instead of when it finishes Follow up to https://googleplex-android-review.git.corp.google.com/q/topic:%22region_sampling_app_transitioning%22 So app transition cycle runs in the order of pending -> starting -> finished or cancelled. For nav bar, region sampling is paused between pending and starting instead of the entire cycle of pending to finished or cancelled. https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/LightBarTransitionsController.java;l=193;drc=c1274bdd5301b74ef502f9416f7df6cc3e37c018 For more information The current implementation has a color change delay when swiping home if dark theme is turned off. Bug: 361593564 Test: check the swipe home animation in light theme Flag: EXEMPT bugfix Change-Id: I693891e3cd8a2855a44e6dff9c4353e82e0bbb3b
diff --git a/packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java b/packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java index b3c697e..1216a88 100644 --- a/packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java +++ b/packages/SystemUI/src/com/android/systemui/navigationbar/TaskbarDelegate.java
@@ -551,6 +551,12 @@ } @Override + public void appTransitionStarting(int displayId, long startTime, long duration, + boolean forced) { + appTransitionPending(false); + } + + @Override public void appTransitionCancelled(int displayId) { appTransitionPending(false); }