Merge "Promote NO_ISOLATED_STORAGE app op to SystemApi(MODULE_LIBRARIES)"

This commit is contained in:
Nikita Ioffe
2020-07-17 16:26:56 +00:00
committed by Android (Google) Code Review
3 changed files with 20 additions and 0 deletions

View File

@@ -1,4 +1,12 @@
// Signature format: 2.0
package android.app {
public class AppOpsManager {
field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage";
}
}
package android.content.rollback {
public class RollbackManagerFrameworkInitializer {

View File

@@ -1461,8 +1461,12 @@ public class AppOpsManager {
/**
* AppOp granted to apps that we are started via {@code am instrument -e --no-isolated-storage}
*
* <p>MediaProvider is the only component (outside of system server) that should care about this
* app op, hence {@code SystemApi.Client.MODULE_LIBRARIES}.
*
* @hide
*/
@SystemApi(client = SystemApi.Client.MODULE_LIBRARIES)
public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage";
/** {@link #sAppOpsToNote} not initialized yet for this op */

View File

@@ -1,4 +1,12 @@
// Signature format: 2.0
package android.app {
public class AppOpsManager {
field public static final String OPSTR_NO_ISOLATED_STORAGE = "android:no_isolated_storage";
}
}
package android.content.rollback {
public class RollbackManagerFrameworkInitializer {