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

Commit ccdbbea2 authored by Andrew Solovay's avatar Andrew Solovay Committed by Android (Google) Code Review
Browse files

Merge "docs: Clarified when GET_ACCOUNTS is necessary" into mnc-docs

parents fbea3082 5e33fbe9
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -330,7 +330,8 @@
    <!-- ====================================================================== -->
    <eat-comment />

    <!-- Used for runtime permissions related to user's contacts and profile. -->
    <!-- Used for runtime permissions related to contacts and profiles on this
        device. -->
    <permission-group android:name="android.permission-group.CONTACTS"
        android:icon="@drawable/perm_group_contacts"
        android:label="@string/permgrouplab_contacts"
@@ -1037,6 +1038,14 @@
    <eat-comment />

    <!-- Allows access to the list of accounts in the Accounts Service.

    <p class="note"><strong>Note:</strong> Beginning with Android 6.0 (API level
    23), if an app shares the signature of the authenticator that manages an
    account, it does not need <code>"GET_ACCOUNTS"</code> permission to read
    information about that account. On Android 5.1 and lower, all apps need
    <code>"GET_ACCOUNTS"</code> permission to read information about any
    account.</p>

    <p>Protection level: dangerous
    -->
    <permission android:name="android.permission.GET_ACCOUNTS"