blob: fdded5eafad4ee5cddbfb69230f7862524cf8bdf [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 Soltys22db4572018-11-13 18:15:21 -05004 package="com.stevesoltys.backup"
Steve Soltyscdaf8422019-03-14 21:33:50 -04005 android:versionCode="5"
6 android:versionName="0.3.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" />
21
Steve Soltys2497a942017-09-20 22:42:15 -040022 <application
Steve Soltyscc4b6292018-11-11 21:00:00 -050023 android:name=".Backup"
Torsten Grote66c09192019-07-05 12:35:45 +020024 android:allowBackup="false"
Steve Soltys2497a942017-09-20 22:42:15 -040025 android:icon="@mipmap/ic_launcher"
Steve Soltys22db4572018-11-13 18:15:21 -050026 android:label="@string/app_name"
Torsten Grote66c09192019-07-05 12:35:45 +020027 android:supportsRtl="true"
28 android:theme="@style/AppTheme"
Torsten Grote2434fe32019-06-03 12:23:09 -030029 tools:ignore="GoogleAppIndexingWarning">
Steve Soltys2497a942017-09-20 22:42:15 -040030
Torsten Grote2434fe32019-06-03 12:23:09 -030031 <activity
Torsten Groteb9834142019-06-18 17:39:46 -030032 android:name=".settings.SettingsActivity"
33 android:exported="true" />
34
35 <activity
Torsten Grote6d8178f2019-09-13 11:40:32 -030036 android:name=".ui.storage.StorageActivity"
37 android:theme="@style/AppTheme.NoActionBar" />
38
39 <activity
40 android:name=".ui.storage.PermissionGrantActivity"
41 android:exported="false"
42 android:permission="android.permission.MANAGE_DOCUMENTS" />
43
44 <activity
45 android:name=".ui.recoverycode.RecoveryCodeActivity"
46 android:label="@string/recovery_code_title"
47 android:theme="@style/AppTheme.NoActionBar" />
Torsten Grote66c09192019-07-05 12:35:45 +020048
49 <activity
Torsten Grote491789e2019-09-05 17:42:39 -030050 android:name=".restore.RestoreActivity"
51 android:exported="true"
52 android:label="@string/restore_title"
53 android:theme="@style/AppTheme.NoActionBar">
54 <intent-filter>
55 <action android:name="com.stevesoltys.backup.restore.RESTORE_BACKUP" />
56 <category android:name="android.intent.category.DEFAULT" />
57 </intent-filter>
58 </activity>
59
60 <activity
Torsten Grote2434fe32019-06-03 12:23:09 -030061 android:name="com.stevesoltys.backup.activity.MainActivity"
Torsten Grote1ee443a2019-08-01 10:34:31 +020062 android:label="@string/app_name" />
Steve Soltys2497a942017-09-20 22:42:15 -040063
Steve Soltys22db4572018-11-13 18:15:21 -050064 <activity
65 android:name="com.stevesoltys.backup.activity.backup.CreateBackupActivity"
66 android:parentActivityName="com.stevesoltys.backup.activity.MainActivity" />
Steve Soltys2497a942017-09-20 22:42:15 -040067
Steve Soltys22db4572018-11-13 18:15:21 -050068 <activity
69 android:name="com.stevesoltys.backup.activity.restore.RestoreBackupActivity"
70 android:parentActivityName="com.stevesoltys.backup.activity.MainActivity" />
Steve Soltys2497a942017-09-20 22:42:15 -040071
Steve Soltys22db4572018-11-13 18:15:21 -050072 <service
Torsten Grote683268a2019-09-02 11:45:57 -030073 android:name=".transport.ConfigurableBackupTransportService"
Steve Soltys22db4572018-11-13 18:15:21 -050074 android:exported="false">
Steve Soltys2497a942017-09-20 22:42:15 -040075 <intent-filter>
76 <action android:name="android.backup.TRANSPORT_HOST" />
77 </intent-filter>
78 </service>
79
Torsten Groteb0386c82019-09-18 09:23:46 -030080 <receiver
81 android:name=".UsbIntentReceiver"
82 android:exported="true">
83 <intent-filter>
84 <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
85 </intent-filter>
86 <meta-data
87 android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
88 android:resource="@xml/device_filter" />
89 </receiver>
90
Steve Soltys2497a942017-09-20 22:42:15 -040091 </application>
92</manifest>