summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorAndy Mast <andy@cyngn.com>2014-05-01 16:49:46 -0700
committerAndy Mast <andy@cyngn.com>2014-05-06 15:18:56 -0700
commit26d5e45ea0a71ae92c762032c6c647299b1b66b3 (patch)
tree74286d137f19da6170035ac1ae4b0c6766340981 /AndroidManifest.xml
parent339b06cd3920c7bf16d9464a9cc469233f3475b1 (diff)
downloadpackages_apps_ThemeChooser-26d5e45ea0a71ae92c762032c6c647299b1b66b3.tar.gz
packages_apps_ThemeChooser-26d5e45ea0a71ae92c762032c6c647299b1b66b3.tar.bz2
packages_apps_ThemeChooser-26d5e45ea0a71ae92c762032c6c647299b1b66b3.zip
Theme Chooser: Initial Contribution [1/2]
Introduces a new theme chooser UI for the new theme engine. The new theme chooser allows the user to mix'n'match theme components (styles, boot anim, icons, fonts, wallpapers, sounds). Contributors: Adrian Foulk - UX Lead Andrew Mast - Software Engineer Clark Scheff - Software Engineer RJ Oakes - QA Engineer Special thanks to T-Mobile for open sourcing the original theme engine. Change-Id: I59aab2a262314962c2034eb36044564acec769a1
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..5605678
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,57 @@
+<?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" />
+
+ <!-- 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="19"
+ android:targetSdkVersion="19" />
+
+ <application
+ android:allowBackup="true"
+ android:icon="@drawable/ic_app_themes"
+ android:label="@string/app_name"
+ android:theme="@style/AppTheme" >
+ <activity
+ android:name="org.cyanogenmod.theme.chooser.ChooserActivity"
+ android:label="@string/app_name" >
+ <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="android.intent.action.PACKAGE_ADDED" />
+ <action android:name="android.intent.action.PACKAGE_FULLY_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> \ No newline at end of file