OSDN Git Service

Address API council feedback
authorSvet Ganov <svetoslavganov@google.com>
Tue, 23 Apr 2019 21:06:11 +0000 (14:06 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Wed, 24 Apr 2019 02:14:48 +0000 (02:14 +0000)
Test: manual

bug:130643623

Change-Id: I489f32858abfa4fe8eeda96cbb103d75e2a87551

api/system-current.txt
core/java/android/content/pm/PackageManager.java

index acbd28f..288cb9c 100644 (file)
@@ -1714,7 +1714,6 @@ package android.content.pm {
     field public static final int MATCH_ANY_USER = 4194304; // 0x400000
     field public static final int MATCH_FACTORY_ONLY = 2097152; // 0x200000
     field public static final int MATCH_INSTANT = 8388608; // 0x800000
-    field public static boolean RESTRICTED_PERMISSIONS_ENABLED;
     field public static final int RESTRICTION_HIDE_FROM_SUGGESTIONS = 1; // 0x1
     field public static final int RESTRICTION_HIDE_NOTIFICATIONS = 2; // 0x2
     field public static final int RESTRICTION_NONE = 0; // 0x0
index abb68e7..5f3e057 100644 (file)
@@ -87,8 +87,8 @@ public abstract class PackageManager {
     public static final boolean APPLY_DEFAULT_TO_DEVICE_PROTECTED_STORAGE = true;
 
     /** {@hide} */
-    @SystemApi
     @TestApi
+    // STOPSHIP: Remove this once we get a Play prebuilt.
     public static boolean RESTRICTED_PERMISSIONS_ENABLED = false;
 
     /**