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

Commit 09a5f2aa authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Extended Power Menu: Initialize reboot reason to the first reason" into ics

parents 7cda0e1b fe9d370f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -147,6 +147,9 @@ public final class ShutdownThread extends Thread {
                                return true;
                            }
                        });
                // Initialize to the first reason
                String actions[] = context.getResources().getStringArray(com.android.internal.R.array.shutdown_reboot_actions);
                mRebootReason = actions[0];
            } else {
                dialog = new AlertDialog.Builder(context)
                        .setIcon(android.R.drawable.ic_dialog_alert)