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

Commit a0bc03e8 authored by TYM Tsai's avatar TYM Tsai
Browse files

Flag removal: wait_application_killed

Bug: 409605796
Flag: EXEMPT removing android.content.pm.wait_application_killed
Test: atest CtsPackageInstallTestCases
Change-Id: I08950aa4a280283c76f801965a38f1f382002930
parent e1d45bfe
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -262,14 +262,6 @@ flag {
    is_fixed_read_only: true
}

flag {
    name: "wait_application_killed"
    namespace: "package_manager_service"
    description: "Feature flag to control whether to wait until the application is killed when clear application data"
    bug: "31009094"
    is_fixed_read_only: true
}

flag {
    name: "component_state_changed_metrics"
    namespace: "package_manager_service"
+1 −2
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@ import android.annotation.NonNull;
import android.annotation.Nullable;
import android.annotation.SpecialUsers.CanBeALL;
import android.annotation.UserIdInt;
import android.content.pm.Flags;
import android.content.pm.PackageManager;

import dalvik.system.CloseGuard;
@@ -85,7 +84,7 @@ final class PackageFreezer implements AutoCloseable {
            ps = mPm.mSettings.getPackageLPr(mPackageName);
        }
        if (ps != null) {
            if (waitAppKilled && Flags.waitApplicationKilled()) {
            if (waitAppKilled) {
                mPm.killApplicationSync(ps.getPackageName(), ps.getAppId(), userId, killReason,
                        exitInfoReason);
            } else {