Loading core/java/com/android/internal/app/ShutdownThread.java +14 −19 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ public final class ShutdownThread extends Thread { private static Object sIsStartedGuard = new Object(); private static boolean sIsStarted = false; private boolean mReboot; private static boolean mReboot; private static String mRebootReason; // Provides shutdown assurance in case the system_server is killed Loading Loading @@ -127,11 +127,6 @@ public final class ShutdownThread extends Thread { dialog.cancel(); } }) .setOnCancelListener(new DialogInterface.OnCancelListener() { public void onCancel(DialogInterface dialog) { mReboot = false; } }) .create(); } else { dialog = new AlertDialog.Builder(context) Loading Loading
core/java/com/android/internal/app/ShutdownThread.java +14 −19 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ public final class ShutdownThread extends Thread { private static Object sIsStartedGuard = new Object(); private static boolean sIsStarted = false; private boolean mReboot; private static boolean mReboot; private static String mRebootReason; // Provides shutdown assurance in case the system_server is killed Loading Loading @@ -127,11 +127,6 @@ public final class ShutdownThread extends Thread { dialog.cancel(); } }) .setOnCancelListener(new DialogInterface.OnCancelListener() { public void onCancel(DialogInterface dialog) { mReboot = false; } }) .create(); } else { dialog = new AlertDialog.Builder(context) Loading