summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-03-10 09:50:45 -0700
committerGerrit Code Review <gerrit@cyngn.com>2015-03-11 15:40:56 +0000
commitb343731b5d5816bc4be98f289d7198d6210a3f2f (patch)
treefe29e737d3a49729a921ffcc4e080ef3b200f3f2 /AndroidManifest.xml
parenta24e485aec11a109ba6d02941cf3955268941bc6 (diff)
downloadpackages_apps_ThemeChooser-b343731b5d5816bc4be98f289d7198d6210a3f2f.tar.gz
packages_apps_ThemeChooser-b343731b5d5816bc4be98f289d7198d6210a3f2f.tar.bz2
packages_apps_ThemeChooser-b343731b5d5816bc4be98f289d7198d6210a3f2f.zip
Send broadcast when theme chooser opened and theme removed
This introduces two new actions that will be broadcasted to the store, or any app that is granted the com.cyngn.themes.permission.THEMES_APP permission, which requires the same signature as the Theme Chooser. If a theme is uninstalled from the chooser, a broadcast is sent along with a String extra with the key "package" that identifies the package name of the theme being removed. Change-Id: I6b3f4e19ebb1b8d763d7e0038591fccbbe1809f2
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index b175535..bc1b494 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -34,6 +34,9 @@
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
+ <permission android:name="com.cyngn.themes.permission.THEMES_APP"
+ android:protectionLevel="signature" />
+
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />