commit | edf6ba5cfeccfafee078f3e3896f4ac2db06c58f | [log] [tgz] |
---|---|---|
author | Lucas Silva <lusilva@google.com> | Tue Feb 06 22:53:43 2024 -0500 |
committer | Lucas Silva <lusilva@google.com> | Wed Feb 07 18:19:05 2024 +0000 |
tree | 0b41777b19ec6f9ba79ab21d8353a7e6387a42e1 | |
parent | caa478c8f3191dc7041ce030b83e25e395c3f84b [diff] |
Disable communal hub if lockscreen widgets are disabled This change refactors out the logic determining whether communal is enabled or disabled into a separate interactor/repository. It also adds logic to check for DevicePolicyManager disabling lockscreen widgets. Bug: 323196422 Test: atest SystemUiRoboTests Flag: ACONFIG com.android.systemui.communal_hub STAGING Change-Id: I96b1d909271201c45f9d4a29e039644fa71ccd6e