14: Add new permission FOREGROUND_SERVICE_DATA_SYNC
* Android.bp build means we get set to targetSdk 34 already Fixes: Starting FGS with type dataSync targetSDK=34 requires permissions See: https://developer.android.com/about/versions/14/changes/fgs-types-required#data-sync Change-Id: I69932d778e870535522e08dff131f1bb1d128955
This commit is contained in:
parent
e6f32510d5
commit
fcdacf22a7
2 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,7 @@ It uses the same internal APIs as `adb backup` which is deprecated and thus need
|
||||||
* `android.permission.MANAGE_EXTERNAL_STORAGE` to backup and restore files from device storage.
|
* `android.permission.MANAGE_EXTERNAL_STORAGE` to backup and restore files from device storage.
|
||||||
* `android.permission.ACCESS_MEDIA_LOCATION` to backup original media files e.g. without stripped EXIF metadata.
|
* `android.permission.ACCESS_MEDIA_LOCATION` to backup original media files e.g. without stripped EXIF metadata.
|
||||||
* `android.permission.FOREGROUND_SERVICE` to do periodic storage backups without interruption.
|
* `android.permission.FOREGROUND_SERVICE` to do periodic storage backups without interruption.
|
||||||
|
* `android.permission.FOREGROUND_SERVICE_DATA_SYNC` to do periodic storage backups without interruption.
|
||||||
* `android.permission.MANAGE_DOCUMENTS` to retrieve the available storage roots (optional) for better UX.
|
* `android.permission.MANAGE_DOCUMENTS` to retrieve the available storage roots (optional) for better UX.
|
||||||
* `android.permission.USE_BIOMETRIC` to authenticate saving a new recovery code
|
* `android.permission.USE_BIOMETRIC` to authenticate saving a new recovery code
|
||||||
* `android.permission.INTERACT_ACROSS_USERS_FULL` to use storage roots in other users (optional).
|
* `android.permission.INTERACT_ACROSS_USERS_FULL` to use storage roots in other users (optional).
|
||||||
|
|
|
@ -64,6 +64,9 @@
|
||||||
android:name="android.permission.READ_LOGS"
|
android:name="android.permission.READ_LOGS"
|
||||||
tools:ignore="ProtectedPermissions" />
|
tools:ignore="ProtectedPermissions" />
|
||||||
|
|
||||||
|
<!-- Used for periodic storage backups -->
|
||||||
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />
|
||||||
|
|
||||||
<!-- Permission used to open settings -->
|
<!-- Permission used to open settings -->
|
||||||
<permission
|
<permission
|
||||||
android:name="com.stevesoltys.seedvault.OPEN_SETTINGS"
|
android:name="com.stevesoltys.seedvault.OPEN_SETTINGS"
|
||||||
|
|
Loading…
Reference in a new issue