Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7607a09a authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Enable "Reboot to safe mode" confirmation on GlobalActions" into oc-dr1-dev am: 3ad62336

am: d16a6906

Change-Id: I9c49b78fe8ac16bf56c88cd373e8ff51f9581e59
parents 8276d0e1 d16a6906
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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);