summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shashwat Razdan <srazdan@google.com> 2024-01-23 20:56:10 +0000
committer Shashwat Razdan <srazdan@google.com> 2024-01-24 20:24:11 +0000
commit31c772fa946e29e3c949129da23def21845c6b95 (patch)
tree8cf566586a1f1e21b8d12f1dcf9d817d494e73ed
parent5e33a738aae0471d9c66daed82ee616e72b81b5f (diff)
Guarding the ACCESS_SMARTSPACE permission with @FlaggedApi tag
Test: Permission only change Bug: 297207196 Bug: 304478692 Change-Id: I5848713accf9358960235cab7ece2919325d3ea2
-rw-r--r--core/api/system-current.txt2
-rw-r--r--core/res/AndroidManifest.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index 318badfc8caa..97e48b0dbb5b 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -22,7 +22,7 @@ package android {
field public static final String ACCESS_RCS_USER_CAPABILITY_EXCHANGE = "android.permission.ACCESS_RCS_USER_CAPABILITY_EXCHANGE";
field public static final String ACCESS_SHARED_LIBRARIES = "android.permission.ACCESS_SHARED_LIBRARIES";
field public static final String ACCESS_SHORTCUTS = "android.permission.ACCESS_SHORTCUTS";
- field public static final String ACCESS_SMARTSPACE = "android.permission.ACCESS_SMARTSPACE";
+ field @FlaggedApi("android.app.smartspace.flags.access_smartspace") public static final String ACCESS_SMARTSPACE = "android.permission.ACCESS_SMARTSPACE";
field public static final String ACCESS_SURFACE_FLINGER = "android.permission.ACCESS_SURFACE_FLINGER";
field public static final String ACCESS_TUNED_INFO = "android.permission.ACCESS_TUNED_INFO";
field public static final String ACCESS_TV_DESCRAMBLER = "android.permission.ACCESS_TV_DESCRAMBLER";
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index f9731d4b907c..d5ab192faf10 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -7058,6 +7058,7 @@
android:protectionLevel="signature" />
<!-- @SystemApi Allows an application to access the smartspace service as a client.
+ @FlaggedApi(android.app.smartspace.flags.Flags.FLAG_ACCESS_SMARTSPACE)
@hide <p>Not for use by third-party applications.</p> -->
<permission android:name="android.permission.ACCESS_SMARTSPACE"
android:protectionLevel="signature|privileged|development" />