Merge "Revert "Revert "Enable the new permission subsystem implementation on V."""

This commit is contained in:
TreeHugger Robot
2023-06-26 16:24:32 +00:00
committed by Android (Google) Code Review

View File

@@ -75,6 +75,7 @@ import android.util.Slog;
import com.android.internal.R;
import com.android.internal.annotations.Immutable;
import com.android.internal.util.CollectionUtils;
import com.android.modules.utils.build.SdkLevel;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@@ -181,7 +182,7 @@ public final class PermissionManager {
*
* @hide
*/
public static final boolean USE_ACCESS_CHECKING_SERVICE = false;
public static final boolean USE_ACCESS_CHECKING_SERVICE = SdkLevel.isAtLeastV();
/**
* The time to wait in between refreshing the exempted indicator role packages