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

Commit 473f1c4f authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

Merge "Log SystemServerShutdown earlier" into oc-mr1-dev

am: 70aa7bbc

Change-Id: I6f81c9855e95c54382185d556183c609ce68e85c
parents 98349dc8 70aa7bbc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -715,6 +715,7 @@ public final class ShutdownThread extends Thread {
     * @param reason reason for reboot/shutdown
     */
    public static void rebootOrShutdown(final Context context, boolean reboot, String reason) {
        SHUTDOWN_TIMINGS_LOG.traceEnd(); // SystemServerShutdown
        if (reboot) {
            Log.i(TAG, "Rebooting, reason: " + reason);
            PowerManagerService.lowLevelReboot(reason);
@@ -736,7 +737,6 @@ public final class ShutdownThread extends Thread {
            } catch (InterruptedException unused) {
            }
        }
        SHUTDOWN_TIMINGS_LOG.traceEnd(); // SystemServerShutdown
        // Shutdown power
        Log.i(TAG, "Performing low-level shutdown...");
        PowerManagerService.lowLevelShutdown(reason);