-
Notifications
You must be signed in to change notification settings - Fork 65
/
AndroidManifest.xml
64 lines (57 loc) · 2.86 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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.cyanogenmod.theme.chooser"
android:sharedUserId="org.cyanogenmod.themes"
android:versionCode="2"
android:versionName="2.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="cyanogenmod.permission.ACCESS_THEME_MANAGER" />
<uses-permission android:name="cyanogenmod.permission.READ_THEMES" />
<uses-permission android:name="cyanogenmod.permission.WRITE_THEMES" />
<!-- The following permissions are used to hijack Google Play notifications
when a theme is installed -->
<uses-permission android:name="android.permission.CANCEL_NOTIFICATIONS" />
<uses-permission android:name="android.permission.ACCESS_NOTIFICATIONS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-sdk
android:minSdkVersion="23"
android:targetSdkVersion="23" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme.Chooser" >
<activity
android:name="org.cyanogenmod.theme.chooser.ChooserActivity"
android:label="@string/app_name"
android:launchMode="singleTop">
<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.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="cyanogenmod.intent.category.APP_THEMES" />
</intent-filter>
<intent-filter >
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name="org.cyanogenmod.theme.chooser.AppReceiver" >
<intent-filter>
<action android:name="cyanogenmod.intent.action.THEME_INSTALLED" />
<action android:name="cyanogenmod.intent.action.THEME_REMOVED" />
<data android:scheme="package" />
</intent-filter>
</receiver>
<service android:name="org.cyanogenmod.theme.chooser.NotificationHijackingService"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
</application>
</manifest>