SystemUI: Don't store pending ControlAction if the device is locked
Passing control action to activityStarter.dismissKeyguardThenExecute() is enough to toggle it post device unlock. Test: Use a control action from locked device, notice that it's no longer toggled twice. Change-Id: I48cb9e0ad2425d35063fddefc738ab36c01690b8
Showing
- packages/SystemUI/src/com/android/systemui/controls/ui/ControlActionCoordinator.kt 0 additions, 6 deletions.../android/systemui/controls/ui/ControlActionCoordinator.kt
- packages/SystemUI/src/com/android/systemui/controls/ui/ControlActionCoordinatorImpl.kt 1 addition, 16 deletions...roid/systemui/controls/ui/ControlActionCoordinatorImpl.kt
- packages/SystemUI/src/com/android/systemui/controls/ui/ControlViewHolder.kt 0 additions, 2 deletions...src/com/android/systemui/controls/ui/ControlViewHolder.kt
Loading
Please register or sign in to comment