Loading services/java/com/android/server/power/ShutdownThread.java +3 −3 Original line number Diff line number Diff line Loading @@ -524,6 +524,9 @@ public final class ShutdownThread extends Thread { * @param reason reason for reboot */ public static void rebootOrShutdown(boolean reboot, String reason) { // Oem specific shutdown deviceRebootOrShutdown(reboot, reason); if (reboot) { Log.i(TAG, "Rebooting, reason: " + reason); PowerManagerService.lowLevelReboot(reason); Loading @@ -545,9 +548,6 @@ public final class ShutdownThread extends Thread { } } // Oem specific shutdown deviceRebootOrShutdown(reboot, reason); // Shutdown power Log.i(TAG, "Performing low-level shutdown..."); PowerManagerService.lowLevelShutdown(); Loading Loading
services/java/com/android/server/power/ShutdownThread.java +3 −3 Original line number Diff line number Diff line Loading @@ -524,6 +524,9 @@ public final class ShutdownThread extends Thread { * @param reason reason for reboot */ public static void rebootOrShutdown(boolean reboot, String reason) { // Oem specific shutdown deviceRebootOrShutdown(reboot, reason); if (reboot) { Log.i(TAG, "Rebooting, reason: " + reason); PowerManagerService.lowLevelReboot(reason); Loading @@ -545,9 +548,6 @@ public final class ShutdownThread extends Thread { } } // Oem specific shutdown deviceRebootOrShutdown(reboot, reason); // Shutdown power Log.i(TAG, "Performing low-level shutdown..."); PowerManagerService.lowLevelShutdown(); Loading