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

Commit 33d75900 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[am/incremental] force stop unstartable apps"

parents d24f9153 b4bd680f
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -13663,6 +13663,11 @@ public class ActivityManagerService extends IActivityManager.Stub
                case Intent.ACTION_PRE_BOOT_COMPLETED:
                case Intent.ACTION_PRE_BOOT_COMPLETED:
                    timeoutExempt = true;
                    timeoutExempt = true;
                    break;
                    break;
                case Intent.ACTION_PACKAGE_UNSTARTABLE:
                    final String packageName = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME);
                    forceStopPackageLocked(packageName, -1, false, true, true,
                            false, false, userId, "package unstartable");
                    break;
            }
            }
            if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||
            if (Intent.ACTION_PACKAGE_ADDED.equals(action) ||