Merge "Revert "Revert "Enable the new permission subsystem implementation on V."""
This commit is contained in:
committed by
Android (Google) Code Review
commit
b06fae25f3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user