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

Skip to content
Commit bb2ca61b authored by Vilhelm Sassi's avatar Vilhelm Sassi Committed by Mattias Nilsson
Browse files

Update volume icons visibility after policy update

Volume, Vibrate and DnD icons are based on an old ZenConfig. This is
due to updateVolumeZen is triggered too early.

ZenModeControllerImpl#fireConfigChanged
 - > updateVolumeZen
which uses ZenModeControllerImpl.getConsolidatedPolicy to evaluate
the icon visibility for mute and vibrate.

mConsolidatedNotificationPolicy is not updated until
onConsolidatedPolicyChanged is dispatched.

Replace onConfigChanged with overriding onConsolidatedPolicyChanged
will solve the problem.

Test: Manual
Bug: 315289475
Change-Id: I11998b76a3dc93f7444491ffbf21a34721378297
parent ea0c498c
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