forked from CyanogenMod/android_packages_apps_ThemeChooser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
63 lines (56 loc) · 2.78 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
<?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="7"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_THEME_MANAGER" />
<uses-permission android:name="android.permission.READ_THEMES" />
<uses-permission android:name="android.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="21"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<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" />
<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="android.intent.action.PACKAGE_ADDED" />
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
<data android:scheme="package" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.THEME_RESOURCES_CACHED" />
</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>