summaryrefslogtreecommitdiffstats
path: root/core/res/AndroidManifest.xml
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-02-09 16:12:18 -0800
committerDianne Hackborn <hackbod@google.com>2012-02-09 18:06:01 -0800
commita573f6a1d9b12393fbdfd2c0850499973849854b (patch)
treeb44ae056ae7688ef8698c42bb401d55760b9ccf5 /core/res/AndroidManifest.xml
parent7ff3144aa6a4c5e6f0f64933ce174b424cfbfd6e (diff)
downloadframeworks_base-a573f6a1d9b12393fbdfd2c0850499973849854b.zip
frameworks_base-a573f6a1d9b12393fbdfd2c0850499973849854b.tar.gz
frameworks_base-a573f6a1d9b12393fbdfd2c0850499973849854b.tar.bz2
Some hardening of isolated processes by restricting access to services.
Services now must explicitly opt in to being accessed by isolated processes. Currently only the activity manager and surface flinger allow this. Activity manager is needed so that we can actually bring up the process; SurfaceFlinger is needed to be able to get the display information for creating the Configuration. The SurfaceFlinger should be safe because the app doesn't have access to the window manager so can't actually get a surface to do anything with. The activity manager now protects most of its entry points against isolated processes. Change-Id: I0dad8cb2c873575c4c7659c3c2a7eda8e98f46b0
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 97658a1..1199cf7 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -717,6 +717,13 @@
android:label="@string/permlab_removeTasks"
android:description="@string/permdesc_removeTasks" />
+ <!-- @hide Change the screen compatibility mode of applications -->
+ <permission android:name="android.permission.SET_SCREEN_COMPATIBILITY"
+ android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
+ android:protectionLevel="signature"
+ android:label="@string/permlab_setScreenCompatibility"
+ android:description="@string/permdesc_setScreenCompatibility" />
+
<!-- Allows an application to modify the current configuration, such
as locale. -->
<permission android:name="android.permission.CHANGE_CONFIGURATION"