summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Jordan Demeulenaere <jdemeulenaere@google.com> 2025-01-13 13:38:44 +0100
committer Jordan Demeulenaere <jdemeulenaere@google.com> 2025-01-17 16:06:30 +0100
commitd54a506a8489230c07d9cddfc14e3fc3a708d6c4 (patch)
tree6f7c165eed2802c754d5b81ff92098c881a9479b /libs/androidfw/Util.cpp
parent0026e37481398e08e51635e9c026da31e66e4768 (diff)
Add hideCurrentOverlays to UserActionResult.ShowOverlay()
This CL adds a parameter to ShowOverlay() that can be used to close/hide some overlays when starting a new user action that shows an overlay. This will be used by the dual shade to close one of the shades when showing the other one. I decided to put this property only in ShowOverlay because hiding overlays during a ReplaceOverlay and HideOverlay could lead to a broken state, and I didn't want to introduce more complexity if we don't need these to support HideCurrentOverlays anyways. Bug: 389618797 Test: atest OverlayTest Test: atest PredictiveBackHandlerTest Flag: com.android.systemui.scene_container Change-Id: I2e6270e0181314b69d0ae051c957eb87e6f285de
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions