summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Vilhelm Sassi <vilhelm.sassi@sony.com> 2023-12-07 16:03:27 +0100
committer Mattias Nilsson <mattias.nilsson@sony.com> 2024-02-23 11:57:12 +0000
commitbb2ca61b83de3b076926fc9c2b9f5cff9e9c8fc8 (patch)
treed2d0580888485b7674f1737360cbb2ee9b9ccccc /libs/input/PointerController.cpp
parentea0c498c63b10c0e13cb47dd4f5d243018216474 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions