-
Notifications
You must be signed in to change notification settings - Fork 4
/
AndroidManifest.xml
134 lines (130 loc) · 6.92 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
<!--suppress AndroidDomInspection -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.nerdcircus.android.klaxon"
android:installLocation="auto"
>
<permission android:name="org.nerdcircus.android.klaxon.permission.C2D_MESSAGE" android:protectionLevel="signature"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
<uses-permission android:name="android.permission.RECEIVE_MMS"/>
<uses-permission android:name="android.permission.SEND_SMS"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.USE_CREDENTIALS"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/> <!-- needed for GCM -->
<uses-permission android:name="org.nerdcircus.android.klaxon.permission.C2D_MESSAGE"/>
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE"/>
<application android:icon="@drawable/app_icon"
android:allowBackup="true"
android:label="@string/app_name"
android:theme="@style/SelectorTheme">
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" />
<uses-library android:name="com.google.android.gms" android:required="false"/>
<activity android:name=".KlaxonList" android:label="@string/app_name"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="vnd.android.cursor.dir/pages" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".PageViewer" android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="vnd.android.cursor.item/pages" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<provider android:name=".PagerProvider" android:authorities="org.nerdcircus.android.klaxon" android:multiprocess="true"/>
<receiver android:name=".SmsPageReceiver" >
<!-- I know that using this priority is kind of a jerk thing to do,
but third-party SMS apps like Handcent leave me no choice. -->
<intent-filter android:priority="18446744073709551615">
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
<intent-filter>
<data android:mimeType="vnd.android.cursor.item/pages" />
<action android:name="org.nerdcircus.android.klaxon.REPLY" />
</intent-filter>
</receiver>
<receiver android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="org.nerdcircus.android.klaxon" />
</intent-filter>
</receiver>
<service android:name=".GCMIntentService">
</service>
<service android:name=".GcmReplyService">
<intent-filter>
<data android:mimeType="vnd.android.cursor.item/pages" />
<action android:name="org.nerdcircus.android.klaxon.REPLY" />
</intent-filter>
</service>
<receiver android:name=".Notifier" >
<intent-filter>
<action android:name="org.nerdcircus.android.klaxon.PAGES_VIEWED" />
<action android:name="org.nerdcircus.android.klaxon.ANNOY" />
</intent-filter>
<intent-filter>
<action android:name="org.nerdcircus.android.klaxon.PAGE_RECEIVED" />
<data android:mimeType="vnd.android.cursor.item/pages" />
</intent-filter>
<intent-filter>
<!-- this action is called after a reply is sent, to update state -->
<action android:name="org.nerdcircus.android.klaxon.REPLY_SENT" />
<data android:mimeType="vnd.android.cursor.item/pages" />
</intent-filter>
</receiver>
<activity android:name=".Preferences" android:label="@string/prefs_activity"
android:exported="false" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:name=".PushMessageSetup"
android:label="Klaxon push message setup"
android:exported="false" >
<intent-filter>
<!-- Receive a special intent for push-message setup -->
<action android:name="android.intent.action.VIEW" />
<data android:scheme="intent"
android:host="org.nerdcircus.android.klaxon"
android:path="/gcmsetup" />
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
</intent-filter>
</activity>
<activity android:name=".Changelog" android:label="Changelog">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:name=".ReplyList" android:label="@string/replylist_activity">
<intent-filter>
<action android:name="android.intent.action.PICK" />
<data android:mimeType="vnd.android.cursor.item/reply" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".ReplyEditor" android:label="Reply Editor">
<intent-filter>
<action android:name="android.intent.action.INSERT" />
<data android:mimeType="vnd.android.cursor.dir/reply" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.EDIT" />
<data android:mimeType="vnd.android.cursor.item/reply" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>