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

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

Merge "Fix dynsystem.BootCompletedReceiver" am: cc0ece41

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I115a4e9788c57161185087cf4a9fcd0021704a72
parents 3048afdb cc0ece41
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);