gecko/mobile/android/services/manifests/SyncAndroidManifest_permissions.xml.in

33 lines
1.7 KiB
XML

<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.READ_SYNC_STATS" />
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
<!-- A signature level permission granted only to the Firefox
versions sharing an Android Account type. This needs to
agree with GlobalConstants.PER_ACCOUNT_TYPE_PERMISSION. -->
<permission
android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.permission.PER_ACCOUNT_TYPE"
android:protectionLevel="signature">
</permission>
<uses-permission android:name="@MOZ_ANDROID_SHARED_ACCOUNT_TYPE@.permission.PER_ACCOUNT_TYPE" />
<!-- A signature level permission specific to each Firefox version
(Android package name, e.g., org.mozilla.firefox). Use this
permission to broadcast securely within a single Firefox
version. This needs to agree with
GlobalConstants.PER_ANDROID_PACKAGE_PERMISSION.
This is not Sync-specific, but we don't have a better place
to put generic background service manifest snippets, so here
is expedient. -->
<permission
android:name="@ANDROID_PACKAGE_NAME@.permission.PER_ANDROID_PACKAGE"
android:protectionLevel="signature"/>