summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2022-12-02 13:53:33 -0500
committer Fabian Kozynski <kozynski@google.com> 2022-12-08 10:53:46 -0500
commit7136a959a8d69d36516233d92383ce0fcde130a4 (patch)
tree3429eefbb5db73b9790e499bf235c0ca6899070e /libs/androidfw/ConfigDescription.cpp
parent0bfdbbf4c255c987c187f2e079a6763d2f9897ac (diff)
Move trigger for dialog to change controls settings
Refactor the dialogs that were in ControlsActionCoordinatorImpl so they can be called from multiple places. Preserve the behavior if `FLAGS_USE_APP_PANELS` is false. If the flag is true, they are called when `ControlsActivity` is started on a locked device, requiring unlock to actually change the settings. Regardless of the response, the controls space is shown (it will only be triggered to change the ALLOW_TRIVIAL_CONTROLS setting). Test: atest com.android.systemui.controls Fixes: 260731518 Change-Id: I1fd972d64a6f90179d4a9b282bb8fe4ac38048e6
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions