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
1 file changed