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

Commit 2344e246 authored by Kun Liang's avatar Kun Liang Committed by Gerrit - the friendly Code Review server
Browse files

QuickBoot: don't log boot events when in QuickBoot mode.

Don't need log boot events when booting from QuickBoot mode.

Change-Id: Id381530418c09ac1d650f45e7a368dbd7945aff3
parent 971799bd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -62,6 +62,10 @@ public class BootReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(final Context context, Intent intent) {

        boolean fromQuickBoot = intent.getBooleanExtra("from_quickboot", false);
        if (fromQuickBoot) return;

        // Log boot events in the background to avoid blocking the main thread with I/O
        new Thread() {
            @Override