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

Commit cc0ece41 authored by Yo Chiang's avatar Yo Chiang Committed by Gerrit Code Review
Browse files

Merge "Fix dynsystem.BootCompletedReceiver"

parents 7b84f49b 715dd4b1
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);