summaryrefslogtreecommitdiffstats
path: root/core/res/AndroidManifest.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-01-23 14:39:13 -0800
committerDianne Hackborn <hackbod@google.com>2013-01-23 14:39:13 -0800
commitf9c5e0fe837a3090820da502ecaabc5accc00ace (patch)
treebbc72079c958f69d9906f4a4ae803dd88fcf8083 /core/res/AndroidManifest.xml
parentcc7433470f00fac3bbe7835de3ded4b9bf121244 (diff)
downloadframeworks_base-f9c5e0fe837a3090820da502ecaabc5accc00ace.zip
frameworks_base-f9c5e0fe837a3090820da502ecaabc5accc00ace.tar.gz
frameworks_base-f9c5e0fe837a3090820da502ecaabc5accc00ace.tar.bz2
Add new API to propagate contextual data to the assist action
When launching an assist, we have a new API allowing the current foreground activity/application to provide additional arbitrary contextual information that is stuffed in the assist intent before it is launched. Change-Id: I0b2a6f5a266dc42cc0175327fa76774f814af3b4
Diffstat (limited to 'core/res/AndroidManifest.xml')
-rw-r--r--core/res/AndroidManifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index a69870b..aafc4bf 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1702,6 +1702,13 @@
android:description="@string/permdesc_stopAppSwitches"
android:protectionLevel="signature|system" />
+ <!-- Allows an application to retrieve private information about
+ the current top activity, such as any assist context it can provide. -->
+ <permission android:name="android.permission.GET_TOP_ACTIVITY_INFO"
+ android:label="@string/permlab_getTopActivityInfo"
+ android:description="@string/permdesc_getTopActivityInfo"
+ android:protectionLevel="signature" />
+
<!-- Allows an application to retrieve the current state of keys and
switches. This is only for use by the system.
@deprecated The API that used this permission has been removed. -->