Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools" |
Steve Soltys | 32f558f | 2019-10-28 21:57:47 -0400 | [diff] [blame] | 4 | package="com.stevesoltys.seedvault" |
Steve Soltys | 78e217c | 2020-03-07 15:46:02 -0500 | [diff] [blame] | 5 | android:versionCode="7" |
Steve Soltys | bd52749 | 2020-03-07 15:41:49 -0500 | [diff] [blame] | 6 | android:versionName="1.0.0"> |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 7 | |
Torsten Grote | 2434fe3 | 2019-06-03 12:23:09 -0300 | [diff] [blame] | 8 | <uses-permission |
| 9 | android:name="android.permission.BACKUP" |
| 10 | tools:ignore="ProtectedPermissions" /> |
| 11 | |
Torsten Grote | 7401ead | 2020-10-19 15:44:36 -0300 | [diff] [blame^] | 12 | <!-- This is needed to check for internet access when backup is stored on network storage --> |
| 13 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 14 | |
Torsten Grote | 6d8178f | 2019-09-13 11:40:32 -0300 | [diff] [blame] | 15 | <!-- This is needed to retrieve the available storage roots --> |
| 16 | <uses-permission |
| 17 | android:name="android.permission.MANAGE_DOCUMENTS" |
| 18 | tools:ignore="ProtectedPermissions" /> |
| 19 | |
Torsten Grote | 2c4d44c | 2019-09-19 15:21:48 -0300 | [diff] [blame] | 20 | <!-- This is needed to access the serial number of USB mass storage devices --> |
| 21 | <uses-permission |
| 22 | android:name="android.permission.MANAGE_USB" |
| 23 | tools:ignore="ProtectedPermissions" /> |
Robin Schneider | a51fcfc | 2020-03-08 22:13:35 +0100 | [diff] [blame] | 24 | |
Torsten Grote | 26f23e9 | 2019-09-19 16:29:53 -0300 | [diff] [blame] | 25 | <!-- This is needed to change system backup settings --> |
| 26 | <uses-permission |
| 27 | android:name="android.permission.WRITE_SECURE_SETTINGS" |
| 28 | tools:ignore="ProtectedPermissions" /> |
| 29 | |
Torsten Grote | 7605762 | 2019-12-20 13:55:38 -0300 | [diff] [blame] | 30 | <!-- This is needed to re-install backed-up packages when restoring from backup --> |
| 31 | <uses-permission |
| 32 | android:name="android.permission.INSTALL_PACKAGES" |
| 33 | tools:ignore="ProtectedPermissions" /> |
| 34 | |
Torsten Grote | 2bcf82d | 2020-01-03 12:51:44 -0300 | [diff] [blame] | 35 | <!-- This is needed when using auto-restore with removable storage |
| 36 | to allow the user to uninstall an app when storage was not plugged in during install --> |
| 37 | <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" /> |
| 38 | |
Torsten Grote | 918d7a7 | 2020-09-10 09:26:55 -0300 | [diff] [blame] | 39 | <!-- Getting info about installed packages via PackageManager is restricted since Android 11 |
| 40 | We need to know what is installed, with what signatures, etc. for APK backup, |
| 41 | triggering manual backup and other tasks --> |
Torsten Grote | e672309 | 2020-10-15 14:14:55 -0300 | [diff] [blame] | 42 | <uses-permission |
| 43 | android:name="android.permission.QUERY_ALL_PACKAGES" |
| 44 | tools:ignore="QueryAllPackagesPermission" /> |
Torsten Grote | 918d7a7 | 2020-09-10 09:26:55 -0300 | [diff] [blame] | 45 | |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 46 | <application |
Torsten Grote | 94c7663 | 2019-12-16 13:11:11 -0300 | [diff] [blame] | 47 | android:name=".App" |
Torsten Grote | 66c0919 | 2019-07-05 12:35:45 +0200 | [diff] [blame] | 48 | android:allowBackup="false" |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 49 | android:icon="@mipmap/ic_launcher" |
Steve Soltys | 22db457 | 2018-11-13 18:15:21 -0500 | [diff] [blame] | 50 | android:label="@string/app_name" |
Torsten Grote | c9a2981 | 2019-09-23 16:36:31 -0300 | [diff] [blame] | 51 | android:roundIcon="@mipmap/ic_launcher_round" |
Torsten Grote | 66c0919 | 2019-07-05 12:35:45 +0200 | [diff] [blame] | 52 | android:supportsRtl="true" |
| 53 | android:theme="@style/AppTheme" |
Torsten Grote | 2434fe3 | 2019-06-03 12:23:09 -0300 | [diff] [blame] | 54 | tools:ignore="GoogleAppIndexingWarning"> |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 55 | |
Torsten Grote | 2434fe3 | 2019-06-03 12:23:09 -0300 | [diff] [blame] | 56 | <activity |
Torsten Grote | b983414 | 2019-06-18 17:39:46 -0300 | [diff] [blame] | 57 | android:name=".settings.SettingsActivity" |
| 58 | android:exported="true" /> |
| 59 | |
| 60 | <activity |
Torsten Grote | 6d8178f | 2019-09-13 11:40:32 -0300 | [diff] [blame] | 61 | android:name=".ui.storage.StorageActivity" |
| 62 | android:theme="@style/AppTheme.NoActionBar" /> |
| 63 | |
| 64 | <activity |
| 65 | android:name=".ui.storage.PermissionGrantActivity" |
| 66 | android:exported="false" |
| 67 | android:permission="android.permission.MANAGE_DOCUMENTS" /> |
| 68 | |
| 69 | <activity |
| 70 | android:name=".ui.recoverycode.RecoveryCodeActivity" |
| 71 | android:label="@string/recovery_code_title" |
| 72 | android:theme="@style/AppTheme.NoActionBar" /> |
Torsten Grote | 66c0919 | 2019-07-05 12:35:45 +0200 | [diff] [blame] | 73 | |
| 74 | <activity |
Torsten Grote | 491789e | 2019-09-05 17:42:39 -0300 | [diff] [blame] | 75 | android:name=".restore.RestoreActivity" |
| 76 | android:exported="true" |
| 77 | android:label="@string/restore_title" |
| 78 | android:theme="@style/AppTheme.NoActionBar"> |
| 79 | <intent-filter> |
Torsten Grote | 88a250f | 2019-12-06 12:33:50 -0300 | [diff] [blame] | 80 | <action android:name="com.stevesoltys.seedvault.RESTORE_BACKUP" /> |
Torsten Grote | 491789e | 2019-09-05 17:42:39 -0300 | [diff] [blame] | 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | </intent-filter> |
| 83 | </activity> |
| 84 | |
Steve Soltys | 22db457 | 2018-11-13 18:15:21 -0500 | [diff] [blame] | 85 | <service |
Torsten Grote | 683268a | 2019-09-02 11:45:57 -0300 | [diff] [blame] | 86 | android:name=".transport.ConfigurableBackupTransportService" |
Steve Soltys | 22db457 | 2018-11-13 18:15:21 -0500 | [diff] [blame] | 87 | android:exported="false"> |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 88 | <intent-filter> |
| 89 | <action android:name="android.backup.TRANSPORT_HOST" /> |
| 90 | </intent-filter> |
| 91 | </service> |
| 92 | |
Torsten Grote | b0386c8 | 2019-09-18 09:23:46 -0300 | [diff] [blame] | 93 | <receiver |
| 94 | android:name=".UsbIntentReceiver" |
| 95 | android:exported="true"> |
| 96 | <intent-filter> |
| 97 | <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" /> |
| 98 | </intent-filter> |
| 99 | <meta-data |
| 100 | android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" |
| 101 | android:resource="@xml/device_filter" /> |
| 102 | </receiver> |
| 103 | |
Torsten Grote | 2bcf82d | 2020-01-03 12:51:44 -0300 | [diff] [blame] | 104 | <receiver |
| 105 | android:name=".restore.RestoreErrorBroadcastReceiver" |
| 106 | android:exported="false"> |
| 107 | <intent-filter> |
| 108 | <action android:name="com.stevesoltys.seedvault.action.UNINSTALL" /> |
| 109 | </intent-filter> |
| 110 | </receiver> |
| 111 | |
Steve Soltys | 2497a94 | 2017-09-20 22:42:15 -0400 | [diff] [blame] | 112 | </application> |
| 113 | </manifest> |