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

Skip to content
Commit c3203dde authored by Tiger's avatar Tiger
Browse files

Reset status bar color when setting mEdgeToEdgeEnforced

mEdgeToEdgeEnforced is set during installDecor. If setStatusBarcolor is
called before mEdgeToEdgeEnforced is set, the color might be leaked.
This CL resets mStatusBarColor and mNavigationBarDividerColor to make
sure the edge-to-edge enforced as expected.

Bug: 353391346
Bug: 309578419
Flag: com.android.window.flags.enforce_edge_to_edge
Test: Open an app, targeting SDK35+, which calls setStatusBarColor
      before accessing DecorView. See if status bar color will stay
      transparent.
Change-Id: I3661dc7c5ab79872ad9d55be522088eef2998756
parent 6a5eb0f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment