diff options
author | 2025-03-04 18:08:50 +0000 | |
---|---|---|
committer | 2025-03-06 20:40:06 +0000 | |
commit | 1dd660e40a04c39e7f586e2f475b62b3565daaba (patch) | |
tree | e0c9fa8ab8ef72cada8524e53010d0e8664b1272 /native/android/trace.cpp | |
parent | 83bdb7594eddbba59482310b6c805435fab1eeee (diff) |
Reuse StateChange logic in SysUIState
StateChange logic was extracted to implement SysUIStateOverride. It can be used also in the plain SysUIState, reducing duplication and increasing readability.
+ Ensure only a single bit is on when setting a flag. All prod code seems to do it already. Updating a couple of tests to match this reality as well.
Bug: 362719719
Bug: 398011576
Test: SysUiStateImplTest, SysUIStateDispatcherTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: I8fac16d94f9a8ac6705d092d2dd055206eac88f0
Diffstat (limited to 'native/android/trace.cpp')
0 files changed, 0 insertions, 0 deletions