diff options
author | Dan Egnor <egnor@google.com> | 2009-06-15 14:46:00 -0700 |
---|---|---|
committer | Dan Egnor <egnor@google.com> | 2009-06-15 16:29:20 -0700 |
commit | 2d4b6ad9d4c7e3e2dbb6a127f37271686253d71f (patch) | |
tree | b66b8c97936d53c970775aaf134b4f0eeab1a9ca | |
parent | 5570f2f24a74a1f16c781722731ba39f2907cbb3 (diff) | |
download | frameworks_base-2d4b6ad9d4c7e3e2dbb6a127f37271686253d71f.zip frameworks_base-2d4b6ad9d4c7e3e2dbb6a127f37271686253d71f.tar.gz frameworks_base-2d4b6ad9d4c7e3e2dbb6a127f37271686253d71f.tar.bz2 |
Remove obsolete FOTA_UPDATE permission (which should never have been
made public, and wouldn't be used by any third party applications,
and no longer does anything regardless).
Also remove the WRITE_GSERVICES permission from the SettingsProvider
package's manifest (the declaration there was redundant with the one
in the core manifest, where all the other settings-related permissions
live -- no other core package includes its own permission definitions).
-rw-r--r-- | api/4.xml | 11 | ||||
-rw-r--r-- | api/current.xml | 11 | ||||
-rw-r--r-- | core/res/AndroidManifest.xml | 9 | ||||
-rw-r--r-- | packages/SettingsProvider/AndroidManifest.xml | 6 |
4 files changed, 6 insertions, 31 deletions
@@ -452,17 +452,6 @@ visibility="public" > </field> -<field name="FOTA_UPDATE" - type="java.lang.String" - transient="false" - volatile="false" - value=""android.permission.FOTA_UPDATE"" - static="true" - final="true" - deprecated="not deprecated" - visibility="public" -> -</field> <field name="GET_ACCOUNTS" type="java.lang.String" transient="false" diff --git a/api/current.xml b/api/current.xml index d13797c..133b21f 100644 --- a/api/current.xml +++ b/api/current.xml @@ -463,17 +463,6 @@ visibility="public" > </field> -<field name="FOTA_UPDATE" - type="java.lang.String" - transient="false" - volatile="false" - value=""android.permission.FOTA_UPDATE"" - static="true" - final="true" - deprecated="not deprecated" - visibility="public" -> -</field> <field name="GET_ACCOUNTS" type="java.lang.String" transient="false" diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 3df5cdb..07c1f5a 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -745,9 +745,12 @@ android:description="@string/permdesc_forceBack" android:protectionLevel="signature" /> - <permission android:name="android.permission.FOTA_UPDATE" - android:label="@string/permlab_fotaUpdate" - android:description="@string/permdesc_fotaUpdate" + <!-- Allows an application to publish system-level services. Such services + can only be published from processes that never go away, so this is + not something that any normal application can do. --> + <permission android:name="android.permission.ADD_SYSTEM_SERVICE" + android:label="@string/permlab_addSystemService" + android:description="@string/permdesc_addSystemService" android:protectionLevel="signature" /> <!-- Allows an application to update device statistics. Not for diff --git a/packages/SettingsProvider/AndroidManifest.xml b/packages/SettingsProvider/AndroidManifest.xml index 4abc337..16c66a6 100644 --- a/packages/SettingsProvider/AndroidManifest.xml +++ b/packages/SettingsProvider/AndroidManifest.xml @@ -2,12 +2,6 @@ package="com.android.providers.settings" android:sharedUserId="android.uid.system"> - <!-- Permission to write Gservices in SettingsProvider --> - <permission android:name="android.permission.WRITE_GSERVICES" - android:label="@string/permlab_writeGservices" - android:description="@string/permdesc_writeGservices" - android:protectionLevel="signature" /> - <application android:allowClearUserData="false" android:label="Settings Storage" android:icon="@drawable/ic_launcher_settings"> |