Loading services/java/com/android/server/BatteryService.java 100644 → 100755 +4 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,8 @@ public final class BatteryService extends Binder { @Override public void run() { if (ActivityManagerNative.isSystemReady()) { Slog.e(TAG, "silent_reboot shutdownIfNoPowerLocked"); Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading @@ -268,6 +270,8 @@ public final class BatteryService extends Binder { @Override public void run() { if (ActivityManagerNative.isSystemReady()) { Slog.e(TAG, "silent_reboot shutdownIfOverTempLocked"); Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading Loading
services/java/com/android/server/BatteryService.java 100644 → 100755 +4 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,8 @@ public final class BatteryService extends Binder { @Override public void run() { if (ActivityManagerNative.isSystemReady()) { Slog.e(TAG, "silent_reboot shutdownIfNoPowerLocked"); Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading @@ -268,6 +270,8 @@ public final class BatteryService extends Binder { @Override public void run() { if (ActivityManagerNative.isSystemReady()) { Slog.e(TAG, "silent_reboot shutdownIfOverTempLocked"); Intent intent = new Intent(Intent.ACTION_REQUEST_SHUTDOWN); intent.putExtra(Intent.EXTRA_KEY_CONFIRM, false); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Loading