Loading packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java +1 −0 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ class GlobalActionsDialog implements DialogInterface.OnDismissListener, DialogIn long id) { final Action action = mAdapter.getItem(position); if (action instanceof LongPressAction) { mDialog.dismiss(); return ((LongPressAction) action).onLongPress(); } return false; Loading services/core/java/com/android/server/statusbar/StatusBarManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -795,7 +795,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub { mHandler.post(() -> { // ShutdownThread displays UI, so give it a UI context. if (safeMode) { ShutdownThread.rebootSafeMode(getUiContext(), false); ShutdownThread.rebootSafeMode(getUiContext(), true); } else { ShutdownThread.reboot(getUiContext(), PowerManager.SHUTDOWN_USER_REQUESTED, false); Loading Loading
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java +1 −0 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ class GlobalActionsDialog implements DialogInterface.OnDismissListener, DialogIn long id) { final Action action = mAdapter.getItem(position); if (action instanceof LongPressAction) { mDialog.dismiss(); return ((LongPressAction) action).onLongPress(); } return false; Loading
services/core/java/com/android/server/statusbar/StatusBarManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -795,7 +795,7 @@ public class StatusBarManagerService extends IStatusBarService.Stub { mHandler.post(() -> { // ShutdownThread displays UI, so give it a UI context. if (safeMode) { ShutdownThread.rebootSafeMode(getUiContext(), false); ShutdownThread.rebootSafeMode(getUiContext(), true); } else { ShutdownThread.reboot(getUiContext(), PowerManager.SHUTDOWN_USER_REQUESTED, false); Loading