forked from ciubex/dscautorename
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
198 lines (178 loc) · 8.75 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="ro.ciubex.dscautorename">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT" />
<uses-permission android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" />
<!-- Keep CPU running while doing background work. This is only used if beeing called via Tasker/Locale. -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-feature android:name="android.hardware.camera" />
<application
android:name="ro.ciubex.dscautorename.DSCApplication"
android:allowBackup="true"
android:backupAgent="ro.ciubex.dscautorename.util.DSCBackupAgent"
android:fullBackupContent="@xml/backupscheme"
android:grantUriPermissions="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppThemeLight"
tools:ignore="GoogleAppIndexingWarning">
<!-- backup data for API < 23 -->
<meta-data
android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIZnobN2u7WEcf6gpr3_TB-UkcIWfYx0PMLMAnmw" />
<activity
android:name="ro.ciubex.dscautorename.activity.SettingsActivity"
android:label="@string/app_name"
android:taskAffinity=".SettingsActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="ro.ciubex.dscautorename.activity.InfoActivity"
android:label="@string/app_name"
android:taskAffinity=".InfoActivity" />
<activity
android:name="ro.ciubex.dscautorename.activity.RenameDlgActivity"
android:excludeFromRecents="true"
android:label="@string/app_name"
android:taskAffinity=".RenameDlgActivity"
android:theme="@android:style/Theme.Dialog">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND_MULTIPLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
</intent-filter>
</activity>
<receiver
android:name="ro.ciubex.dscautorename.receiver.BootEventReceiver"
android:enabled="true"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver
android:name="ro.ciubex.dscautorename.receiver.CameraEventReceiver"
android:enabled="true"
android:permission="android.permission.CAMERA">
<intent-filter>
<action android:name="com.android.camera.NEW_PICTURE" />
<action android:name="com.android.camera.NEW_VIDEO" />
<action android:name="android.hardware.action.NEW_PICTURE" />
<action android:name="android.hardware.action.NEW_VIDEO" />
<data android:mimeType="image/*" />
<data android:mimeType="video/*" />
</intent-filter>
</receiver>
<receiver
android:name="ro.ciubex.dscautorename.receiver.ShortcutInstallReceiver"
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<receiver
android:name="ro.ciubex.dscautorename.receiver.ShortcutUninstallReceiver"
android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<service
android:name="ro.ciubex.dscautorename.service.MediaContentJobService"
android:enabled="true"
android:permission="android.permission.BIND_JOB_SERVICE" />
<service
android:name="ro.ciubex.dscautorename.service.MediaStorageObserverService"
android:enabled="true" />
<service
android:name="ro.ciubex.dscautorename.service.FolderObserverService"
android:enabled="true" />
<service
android:name="ro.ciubex.dscautorename.service.CameraRenameService"
android:enabled="true" />
<service
android:name="ro.ciubex.dscautorename.service.FileRenameService"
android:enabled="true"
android:permission="android.permission.FOREGROUND_SERVICE" />
<provider
android:name="ro.ciubex.dscautorename.provider.CachedFileProvider"
android:authorities="ro.ciubex.dscautorename.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/fileprovider" />
</provider>
<!-- BEGIN TASKER INTEGRATION -->
<activity
android:name=".activity.PluginEditActivity"
android:exported="false"
android:label="@string/app_name"
android:theme="@style/Theme.AppCompat"
android:uiOptions="splitActionBarWhenNarrow"
android:windowSoftInputMode="adjustResize"
tools:ignore="UnusedAttribute" />
<!--
Locale will reject plug-in Activities for the following reasons:
- Missing "android:label=[...]"
- Missing "android:icon=[...]"
- The Activity isn't exported (e.g. android:exported="false")
- The Activity isn't enabled (e.g. android:enabled="false")
- The Activity requires permissions not available to Locale
-->
<activity-alias
android:name=".activity.PluginActivity"
android:exported="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:targetActivity=".activity.PluginEditActivity"
tools:ignore="ExportedActivity">
<!-- this Intent filter allows the plug-in to be discovered by the host. -->
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.EDIT_SETTING" />
</intent-filter>
</activity-alias>
<!--
Note that Locale will reject plug-in BroadcastReceivers for the following reasons:
- The BroadcastReceiver isn't exported (e.g. android:exported="false")
- The BroadcastReceiver isn't enabled (e.g. android:enabled="false")
- The BroadcastReceiver requires permissions not available to Locale
- There are multiple BroadcastReceivers for com.twofortyfouram.locale.intent.action.FIRE_SETTING
-->
<receiver
android:name=".receiver.PluginFireReceiver"
android:exported="true"
android:process=":background"
tools:ignore="ExportedReceiver">
<intent-filter>
<action android:name="com.twofortyfouram.locale.intent.action.FIRE_SETTING" />
</intent-filter>
</receiver>
<service
android:name=".service.PluginBackgroundService"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE"
android:process=":background" />
<!-- END TASKER INTEGRATION -->
</application>
</manifest>