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

Commit 0eae29ed authored by Jing Ji's avatar Jing Ji
Browse files

Fix CTS failure ActivityManagerTest.testKillingPidsOnImperceptible

Bug: 148883880
Test: atest CtsAppTestCases:ActivityManagerTest
Change-Id: I39f5c0ecf8d8d1f5c4b3eeb10e43b3764765295e
parent 5e135fe8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -419,6 +419,8 @@ final class ActivityManagerConstants extends ContentObserver {
                context.getResources().getIntArray(
                com.android.internal.R.array.config_defaultImperceptibleKillingExemptionProcStates))
                .boxed().collect(Collectors.toList());
        IMPERCEPTIBLE_KILL_EXEMPT_PACKAGES.addAll(mDefaultImperceptibleKillExemptPackages);
        IMPERCEPTIBLE_KILL_EXEMPT_PROC_STATES.addAll(mDefaultImperceptibleKillExemptProcStates);
    }

    public void start(ContentResolver resolver) {