summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Matías Hernández <matiashe@google.com> 2024-08-24 18:23:46 +0200
committer Matías Hernández <matiashe@google.com> 2024-08-26 20:22:21 +0000
commitfb0204580370d2b23b6ab6def1b869f13c36308b (patch)
treed3b178b8f843508664009070498a9d67c37d1c81 /libs/input/PointerController.cpp
parent14fcc462077ed2c0bee9ff85ae3eed035c51845e (diff)
(Almost) display active priority mode icon in status bar
This updates StatusBarIconController, StatusBarIcon, and StatusBarIconView to support: * resources from non-system packages. * preloaded drawables for said resources (in case an existing cache exists, as in the case of modes). Some things are pending: * Icons are not the correct ones for "special" modes (Do Not Disturb shows the TYPE_OTHER icon). This needs some (relatively minor) changes in ZenIconLoader & friends. * Preloaded icons are not tinted correctly on theme changes. * Resource-id icons are tinted correctly, but arbitrarily-sized ones are not resized correctly. ¯\_(ツ)_/¯ Bug: 360399800 Test: atest StatusBarIconControllerImplTest PhoneStatusBarPolicyTest StatusBarIconViewTest StatusBarIconTest Flag: android.app.modes_ui Change-Id: I3fc3815895953c401c426d6eebcb9e4c83c95726
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions