blob: 71c760ca3ce5065ee538cdc69370040e25d627e3 [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 Grote7401ead2020-10-19 15:44:36 -030012 <!-- 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 Grote6d8178f2019-09-13 11:40:32 -030015 <!-- 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 Grote2c4d44c2019-09-19 15:21:48 -030020 <!-- 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 Schneidera51fcfc2020-03-08 22:13:35 +010024
Torsten Grote26f23e92019-09-19 16:29:53 -030025 <!-- 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 Grote76057622019-12-20 13:55:38 -030030 <!-- 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 Grote2bcf82d2020-01-03 12:51:44 -030035 <!-- 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 Grote918d7a72020-09-10 09:26:55 -030039 <!-- 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 Grotee6723092020-10-15 14:14:55 -030042 <uses-permission
43 android:name="android.permission.QUERY_ALL_PACKAGES"
44 tools:ignore="QueryAllPackagesPermission" />
Torsten Grote918d7a72020-09-10 09:26:55 -030045
Steve Soltys2497a942017-09-20 22:42:15 -040046 <application
Torsten Grote94c76632019-12-16 13:11:11 -030047 android:name=".App"
Torsten Grote66c09192019-07-05 12:35:45 +020048 android:allowBackup="false"
Steve Soltys2497a942017-09-20 22:42:15 -040049 android:icon="@mipmap/ic_launcher"
Steve Soltys22db4572018-11-13 18:15:21 -050050 android:label="@string/app_name"
Torsten Grotec9a29812019-09-23 16:36:31 -030051 android:roundIcon="@mipmap/ic_launcher_round"
Torsten Grote66c09192019-07-05 12:35:45 +020052 android:supportsRtl="true"
53 android:theme="@style/AppTheme"
Torsten Grote2434fe32019-06-03 12:23:09 -030054 tools:ignore="GoogleAppIndexingWarning">
Steve Soltys2497a942017-09-20 22:42:15 -040055
Torsten Grote2434fe32019-06-03 12:23:09 -030056 <activity
Torsten Groteb9834142019-06-18 17:39:46 -030057 android:name=".settings.SettingsActivity"
58 android:exported="true" />
59
60 <activity
Torsten Grote6d8178f2019-09-13 11:40:32 -030061 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 Grote66c09192019-07-05 12:35:45 +020073
74 <activity
Torsten Grote491789e2019-09-05 17:42:39 -030075 android:name=".restore.RestoreActivity"
76 android:exported="true"
77 android:label="@string/restore_title"
78 android:theme="@style/AppTheme.NoActionBar">
79 <intent-filter>
Torsten Grote88a250f2019-12-06 12:33:50 -030080 <action android:name="com.stevesoltys.seedvault.RESTORE_BACKUP" />
Torsten Grote491789e2019-09-05 17:42:39 -030081 <category android:name="android.intent.category.DEFAULT" />
82 </intent-filter>
83 </activity>
84
Steve Soltys22db4572018-11-13 18:15:21 -050085 <service
Torsten Grote683268a2019-09-02 11:45:57 -030086 android:name=".transport.ConfigurableBackupTransportService"
Steve Soltys22db4572018-11-13 18:15:21 -050087 android:exported="false">
Steve Soltys2497a942017-09-20 22:42:15 -040088 <intent-filter>
89 <action android:name="android.backup.TRANSPORT_HOST" />
90 </intent-filter>
91 </service>
92
Torsten Groteb0386c82019-09-18 09:23:46 -030093 <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 Grote2bcf82d2020-01-03 12:51:44 -0300104 <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 Soltys2497a942017-09-20 22:42:15 -0400112 </application>
113</manifest>