packages/SystemUI/src/com/android/systemui/controls/settings/ControlsSettingsDialogManager.kt
0 → 100644
+231
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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