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

Commit b82e17ea authored by Yo Chiang's avatar Yo Chiang Committed by Automerger Merge Worker
Browse files

Merge "Fix dynsystem.BootCompletedReceiver" am: cc0ece41 am: 5d4aa4a1 am: d5c00788

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1555905

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If83942ee72e974611164f72c3dbcd9153c8790eb
parents 654b4166 d5c00788
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@ import android.content.Context;
import android.content.Intent;
import android.os.UserHandle;
import android.os.image.DynamicSystemClient;
import android.os.image.DynamicSystemManager;


/**
@@ -41,15 +40,6 @@ public class BootCompletedReceiver extends BroadcastReceiver {
            return;
        }

        DynamicSystemManager dynSystem =
                (DynamicSystemManager) context.getSystemService(Context.DYNAMIC_SYSTEM_SERVICE);

        boolean isInUse = (dynSystem != null) && dynSystem.isInUse();

        if (!isInUse) {
            return;
        }

        Intent startServiceIntent = new Intent(
                context, DynamicSystemInstallationService.class);