diff options
| author | 2023-04-04 18:56:31 -0400 | |
|---|---|---|
| committer | 2023-04-10 13:12:43 -0400 | |
| commit | 3f3c624472e4e2adbc592f3884342af579d57198 (patch) | |
| tree | a20dde4c9c8f56d0a21ade0c7eb5fc4bc19ceca6 /cmds/bootanimation/BootAnimation.cpp | |
| parent | 6d5c413ae2b13f78827615125b4e317f0c87254c (diff) | |
Remove Controller usage from NotificationShelf
Under a unidirectional architecture, Views should not have access to
their Controller
- AmbientState is View-related logic, so NotificationShelf can access
that information directly on mAmbientState instead of going through the
controller.
- NotificationShelfController needs to push the KeyguardBypassController
state into NotificationShelf, in order to reverse the data flow
- Rather than NotificationShelf having a concept of "Bypass", change
the API to "setCanModifyColorOfNotifications" (as opposed to
"setBypassEnabled", for example)
Bug: 271161129
Test: atest SystemUITests
Change-Id: I1c1615d5c3b28e2237f77b786b4dad062ffbea37
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions