blob: 2cb592dbfb27f346f2d43096e9165fbb2e019cae [file] [log] [blame]
Steve Soltys2497a942017-09-20 22:42:15 -04001<?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 Soltys32f558f2019-10-28 21:57:47 -04004 package="com.stevesoltys.seedvault"
Steve Soltys78e217c2020-03-07 15:46:02 -05005 android:versionCode="7"
Steve Soltysbd527492020-03-07 15:41:49 -05006 android:versionName="1.0.0">
Steve Soltys2497a942017-09-20 22:42:15 -04007
Torsten Grote2434fe32019-06-03 12:23:09 -03008 <uses-permission
9 android:name="android.permission.BACKUP"
10 tools:ignore="ProtectedPermissions" />
11
Torsten Grote6d8178f2019-09-13 11:40:32 -030012 <!-- This is needed to retrieve the available storage roots -->
13 <uses-permission
14 android:name="android.permission.MANAGE_DOCUMENTS"
15 tools:ignore="ProtectedPermissions" />
16
Torsten Grote2c4d44c2019-09-19 15:21:48 -030017 <!-- This is needed to access the serial number of USB mass storage devices -->
18 <uses-permission
19 android:name="android.permission.MANAGE_USB"
20 tools:ignore="ProtectedPermissions" />
Robin Schneidera51fcfc2020-03-08 22:13:35 +010021
Torsten Grote26f23e92019-09-19 16:29:53 -030022 <!-- This is needed to change system backup settings -->
23 <uses-permission
24 android:name="android.permission.WRITE_SECURE_SETTINGS"
25 tools:ignore="ProtectedPermissions" />
26
Torsten Grote76057622019-12-20 13:55:38 -030027 <!-- This is needed to re-install backed-up packages when restoring from backup -->
28 <uses-permission
29 android:name="android.permission.INSTALL_PACKAGES"
30 tools:ignore="ProtectedPermissions" />
31
Torsten Grote2bcf82d2020-01-03 12:51:44 -030032 <!-- This is needed when using auto-restore with removable storage
33 to allow the user to uninstall an app when storage was not plugged in during install -->
34 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES" />
35
Torsten Grote918d7a72020-09-10 09:26:55 -030036 <!-- Getting info about installed packages via PackageManager is restricted since Android 11
37 We need to know what is installed, with what signatures, etc. for APK backup,
38 triggering manual backup and other tasks -->
Torsten Grotee6723092020-10-15 14:14:55 -030039 <uses-permission
40 android:name="android.permission.QUERY_ALL_PACKAGES"
41 tools:ignore="QueryAllPackagesPermission" />
Torsten Grote918d7a72020-09-10 09:26:55 -030042
Steve Soltys2497a942017-09-20 22:42:15 -040043 <application
Torsten Grote94c76632019-12-16 13:11:11 -030044 android:name=".App"
Torsten Grote66c09192019-07-05 12:35:45 +020045 android:allowBackup="false"
Steve Soltys2497a942017-09-20 22:42:15 -040046 android:icon="@mipmap/ic_launcher"
Steve Soltys22db4572018-11-13 18:15:21 -050047 android:label="@string/app_name"
Torsten Grotec9a29812019-09-23 16:36:31 -030048 android:roundIcon="@mipmap/ic_launcher_round"
Torsten Grote66c09192019-07-05 12:35:45 +020049 android:supportsRtl="true"
50 android:theme="@style/AppTheme"
Torsten Grote2434fe32019-06-03 12:23:09 -030051 tools:ignore="GoogleAppIndexingWarning">
Steve Soltys2497a942017-09-20 22:42:15 -040052
Torsten Grote2434fe32019-06-03 12:23:09 -030053 <activity
Torsten Groteb9834142019-06-18 17:39:46 -030054 android:name=".settings.SettingsActivity"
55 android:exported="true" />
56
57 <activity
Torsten Grote6d8178f2019-09-13 11:40:32 -030058 android:name=".ui.storage.StorageActivity"
59 android:theme="@style/AppTheme.NoActionBar" />
60
61 <activity
62 android:name=".ui.storage.PermissionGrantActivity"
63 android:exported="false"
64 android:permission="android.permission.MANAGE_DOCUMENTS" />
65
66 <activity
67 android:name=".ui.recoverycode.RecoveryCodeActivity"
68 android:label="@string/recovery_code_title"
69 android:theme="@style/AppTheme.NoActionBar" />
Torsten Grote66c09192019-07-05 12:35:45 +020070
71 <activity
Torsten Grote491789e2019-09-05 17:42:39 -030072 android:name=".restore.RestoreActivity"
73 android:exported="true"
74 android:label="@string/restore_title"
75 android:theme="@style/AppTheme.NoActionBar">
76 <intent-filter>
Torsten Grote88a250f2019-12-06 12:33:50 -030077 <action android:name="com.stevesoltys.seedvault.RESTORE_BACKUP" />
Torsten Grote491789e2019-09-05 17:42:39 -030078 <category android:name="android.intent.category.DEFAULT" />
79 </intent-filter>
80 </activity>
81
Steve Soltys22db4572018-11-13 18:15:21 -050082 <service
Torsten Grote683268a2019-09-02 11:45:57 -030083 android:name=".transport.ConfigurableBackupTransportService"
Steve Soltys22db4572018-11-13 18:15:21 -050084 android:exported="false">
Steve Soltys2497a942017-09-20 22:42:15 -040085 <intent-filter>
86 <action android:name="android.backup.TRANSPORT_HOST" />
87 </intent-filter>
88 </service>
89
Torsten Groteb0386c82019-09-18 09:23:46 -030090 <receiver
91 android:name=".UsbIntentReceiver"
92 android:exported="true">
93 <intent-filter>
94 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
95 </intent-filter>
96 <meta-data
97 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
98 android:resource="@xml/device_filter" />
99 </receiver>
100
Torsten Grote2bcf82d2020-01-03 12:51:44 -0300101 <receiver
102 android:name=".restore.RestoreErrorBroadcastReceiver"
103 android:exported="false">
104 <intent-filter>
105 <action android:name="com.stevesoltys.seedvault.action.UNINSTALL" />
106 </intent-filter>
107 </receiver>
108
Steve Soltys2497a942017-09-20 22:42:15 -0400109 </application>
110</manifest>