forked from JiboStore/DownloadProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
69 lines (58 loc) · 3.05 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mozillaonline.downloadprovider"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<!-- Allows access to the Download Manager -->
<permission
android:name="com.mozillaonline.permission.ACCESS_DOWNLOAD_MANAGER"
android:description="@string/permdesc_downloadManager"
android:label="@string/permlab_downloadManager"
android:protectionLevel="normal" />
<!-- Allows advanced access to the Download Manager -->
<permission
android:name="com.mozillaonline.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED"
android:description="@string/permdesc_downloadManagerAdvanced"
android:label="@string/permlab_downloadManagerAdvanced"
android:protectionLevel="normal" />
<!-- Allows to send broadcasts on download completion -->
<permission
android:name="com.mozillaonline.permission.SEND_DOWNLOAD_COMPLETED_INTENTS"
android:description="@string/permdesc_downloadCompletedIntent"
android:label="@string/permlab_downloadCompletedIntent"
android:protectionLevel="normal" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.mozillaonline.permission.ACCESS_DOWNLOAD_MANAGER" />
<uses-permission android:name="com.mozillaonline.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED" />
<uses-permission android:name="com.mozillaonline.permission.SEND_DOWNLOAD_COMPLETED_INTENTS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".DownloadProviderActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.mozillaonline.providers.downloads.ui.DownloadList" >
</activity>
<provider
android:name="com.mozillaonline.providers.downloads.DownloadProvider"
android:authorities="com.mozillaonline.downloads" />
<service android:name="com.mozillaonline.providers.downloads.DownloadService" />
<receiver
android:name="com.mozillaonline.providers.downloads.DownloadReceiver"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
</application>
</manifest>