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

Commit 1441fc73 authored by Svetoslav's avatar Svetoslav
Browse files

Mark the SUBSCRIBED_FEEDS_READ/WRITE permissions removed.

These permissions are definded by the platform to protect the
subscribed feeds provider which is not in the system, neither
is its contract specified in the system. Both the contract and
the implementation of the provider are in GmsCore. Hence, this
permissions shuld be declared by GmsCore, not the system. Until
GmsCore adds the permissions we have to keep this as removed
but present in the implementation to keep apps that use the
provider working.

bug:20192150

Change-Id: I3f38b01a159bb430c30948b14de7cdaf5cb50772
parent 317918e2
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
package android {

  public static final class Manifest.permission {
    field public static final java.lang.String SUBSCRIBED_FEEDS_READ = "android.permission.SUBSCRIBED_FEEDS_READ";
    field public static final java.lang.String SUBSCRIBED_FEEDS_WRITE = "android.permission.SUBSCRIBED_FEEDS_WRITE";
  }

}

package android.content.pm {

  public class PackageInfo implements android.os.Parcelable {
+9 −0
Original line number Diff line number Diff line
package android {

  public static final class Manifest.permission {
    field public static final java.lang.String SUBSCRIBED_FEEDS_READ = "android.permission.SUBSCRIBED_FEEDS_READ";
    field public static final java.lang.String SUBSCRIBED_FEEDS_WRITE = "android.permission.SUBSCRIBED_FEEDS_WRITE";
  }

}

package android.content.pm {

  public class PackageInfo implements android.os.Parcelable {
+18 −0
Original line number Diff line number Diff line
@@ -1584,6 +1584,24 @@
    <permission android:name="android.permission.WRITE_APN_SETTINGS"
        android:protectionLevel="signature|system" />

    <!-- Allows an application to allow access the subscribed feeds ContentProvider.
         @hide
         @removed
     -->
    <permission android:name="android.permission.SUBSCRIBED_FEEDS_READ"
        android:label="@string/permlab_subscribedFeedsRead"
        android:description="@string/permdesc_subscribedFeedsRead"
        android:protectionLevel="normal" />

    <!--
        @hide
        @removed
    -->
    <permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE"
        android:label="@string/permlab_subscribedFeedsWrite"
        android:description="@string/permdesc_subscribedFeedsWrite"
        android:protectionLevel="dangerous" />

    <!-- Allows applications to change network connectivity state -->
    <permission android:name="android.permission.CHANGE_NETWORK_STATE"
        android:description="@string/permdesc_changeNetworkState"
+6 −0
Original line number Diff line number Diff line
@@ -1278,6 +1278,12 @@
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_readSyncStats">Allows an app to read the sync stats for an account, including the history of sync events and how much data is synced. </string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_subscribedFeedsWrite">write subscribed feeds</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permdesc_subscribedFeedsWrite">Allows the app to modify
        your currently synced feeds. Malicious apps may change your synced feeds.</string>

    <!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
    <string name="permlab_readDictionary">read terms you added to the dictionary</string>
    <!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->