-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAndroidManifest.xml
86 lines (64 loc) · 3.66 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
<?xml version="1.0" encoding="utf-8"?>
<!--
AndroidManifest.xml
Copyright (c) 2012 SeedBoxer Team.
This file is part of Seedroid.
Seedroid is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Seedroid is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Seedroid. If not, see <http ://www.gnu.org/licenses/>.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.seedboxer.seedroid"
android:versionCode="8"
android:versionName="2.1.4" >
<!-- SDK Version -->
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="17" />
<!-- ** Permissions ** -->
<!-- Only this application can receive the messages and registration result -->
<permission android:name="net.seedboxer.seedroid.permission.C2D_MESSAGE" android:protectionLevel="signature" />
<uses-permission android:name="net.seedboxer.seedroid.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive message -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- Internet -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- App must have this permission to use the library -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<!-- ** Application ** -->
<application android:icon="@drawable/bittorrent" android:label="@string/app_name" android:allowBackup="true">
<activity android:name=".activities.MainActivity" android:label="@string/app_name" android:theme="@style/Theme.seedroid">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".activities.Preferences" android:label="@string/app_name" android:theme="@style/Theme.seedroid"/>
<activity android:name=".activities.LoginActivity" android:label="@string/app_name" android:theme="@style/Theme.seedroid"/>
<!-- Only C2DM servers can send messages for the app. If permission is not set -any other app can generate it -->
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<!-- Receive the actual message -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receive the registration id -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="net.seedboxer.seedroid" />
</intent-filter>
</receiver>
<!--
Application-specific subclass of GCMBaseIntentService that will
handle received messages.
By default, it must be named .GCMIntentService, unless the
application uses a custom BroadcastReceiver that redefines its name.
-->
<service android:name=".GCMIntentService" />
</application>
</manifest>