summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
blob: 0a106e2e8b9a59644803c8dbaea947b9104a5c84 (plain)
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
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.cyanogenmod.themes.provider"
    android:sharedUserId="org.cyanogenmod.themes"
    android:versionCode="2"
    android:versionName="2.0" >

    <uses-permission android:name="android.permission.ACCESS_THEME_MANAGER" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_app_themes"
        android:label="@string/app_name" >

        <provider
            android:name="org.cyanogenmod.themes.provider.ThemesProvider"
            android:authorities="com.cyanogenmod.themes"
            android:readPermission="android.permission.READ_THEMES"
            android:writePermission="android.permission.WRITE_THEMES"
            android:exported="true" />

        <service android:name=".PreviewGenerationService" >
        </service>

        <receiver android:name="org.cyanogenmod.themes.provider.AppReceiver" >
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_ADDED" />
                <action android:name="android.intent.action.PACKAGE_REPLACED" />

                <category android:name="com.tmobile.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE" />

                <data android:scheme="package" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
                <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />

                <category android:name="com.tmobile.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE" />

                <data android:scheme="package" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.THEME_RESOURCES_CACHED" />
            </intent-filter>
        </receiver>
    </application>

</manifest>