Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2d4b6ad9 authored by Dan Egnor's avatar Dan Egnor
Browse files

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).
parent 5570f2f2
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -452,17 +452,6 @@
 visibility="public"
>
</field>
<field name="FOTA_UPDATE"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.permission.FOTA_UPDATE&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="GET_ACCOUNTS"
 type="java.lang.String"
 transient="false"
+0 −11
Original line number Diff line number Diff line
@@ -463,17 +463,6 @@
 visibility="public"
>
</field>
<field name="FOTA_UPDATE"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;android.permission.FOTA_UPDATE&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="GET_ACCOUNTS"
 type="java.lang.String"
 transient="false"
+6 −3
Original line number Diff line number Diff line
@@ -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
+0 −6
Original line number Diff line number Diff line
@@ -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">