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

Skip to content
Commit d54a506a authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

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
parent 0026e374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment