commit | 67e4936db3c4bf20fdf4c1f6c55ef25e9eb437f1 | [log] [tgz] |
---|---|---|
author | Winson Chung <winsonc@google.com> | Fri May 17 16:40:38 2019 -0700 |
committer | Winson Chung <winsonc@google.com> | Tue May 21 05:36:42 2019 +0000 |
tree | ef3186cbd26f88db7b3e13bd631a36f0ae9d1f8b | |
parent | 407ea382d41bcd848f8031fc837dc7a78f7ed322 [diff] [blame] |
Notify SysUI of the recents animation so it can disable autohide - When swiping up from an immersive sticky app, ensure that we don't restore the hidden bar states while swiping up (only update afterwards) Bug: 130020567 Test: atest CommandQueueTest Test: Swipe up from an immersive app into launcher while the bars are showing Change-Id: I1c8fb3c0df5c1adc7c73079189f5b45e84d1ef45
diff --git a/services/core/java/com/android/server/statusbar/StatusBarManagerInternal.java b/services/core/java/com/android/server/statusbar/StatusBarManagerInternal.java index 7734d6b..a93d2b8 100644 --- a/services/core/java/com/android/server/statusbar/StatusBarManagerInternal.java +++ b/services/core/java/com/android/server/statusbar/StatusBarManagerInternal.java
@@ -108,4 +108,9 @@ * @param displayId display ID */ void onDisplayReady(int displayId); + + /** + * Notifies System UI whether the recents animation is running. + */ + void onRecentsAnimationStateChanged(boolean running); }