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

Commit 3ae20873 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

GlobalActions: Fix themeing of the ShutdownThread

Apply the correct UI context so the reboot dialog is properly
themed

Change-Id: I115c81538ab9c27223b2090279f877d5b68d6dd3
parent 71632be6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
        mItems.add(
            new SinglePressAction(com.android.internal.R.drawable.ic_lock_reboot, R.string.global_action_reboot) {
                public void onPress() {
                    ShutdownThread.reboot(mContext, "null", true);
                    ShutdownThread.reboot(getUiContext(), "null", true);
                }

                public boolean showDuringKeyguard() {