summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2016-06-07 15:29:43 -0700
committerd34d <clark@cyngn.com>2016-06-08 13:39:35 -0700
commit08725262fbd11a60f48110521ac434a5b48efff5 (patch)
treebdd0a9b39a80ca18dcf70aed1ab7d69c6c9249b2 /AndroidManifest.xml
parent92d115ae0a8c1f8e295fde452b1f27026342de8b (diff)
downloadandroid_packages_apps_WallpaperPicker-08725262fbd11a60f48110521ac434a5b48efff5.tar.gz
android_packages_apps_WallpaperPicker-08725262fbd11a60f48110521ac434a5b48efff5.tar.bz2
android_packages_apps_WallpaperPicker-08725262fbd11a60f48110521ac434a5b48efff5.zip
Bring back the custom wallpaper picker [1/5]
This is the WallpaperPicker found in Trebuchet, with the following key features: - Set launcher wallpaper as well as lock screen wallpaper - Direct support for "no wallpaper" - Loads wallpapers from themes ;) - Supports partner wallpapers Change-Id: I6992a5017694bae5023cddf34db576da8795021e TICKET: OSS-62
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..c19886d
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.cyanogenmod.wallpaperpicker"
+ android:versionCode="1"
+ android:versionName="1.0"
+ >
+
+ <uses-sdk android:minSdkVersion="23" android:targetSdkVersion="23" />
+
+ <!-- Permissions for setting the wallpaper -->
+ <uses-permission android:name="android.permission.SET_WALLPAPER" />
+ <uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
+ <!-- Permissions for setting lock screen wallpaper -->
+ <uses-permission android:name="android.permission.SET_KEYGUARD_WALLPAPER" />
+ <!-- Permissions for setting images from external storage as wallpaper -->
+ <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <!-- Permissions for reading themes -->
+ <uses-permission android:name="cyanogenmod.permission.READ_THEMES" />
+
+ <application
+ android:label="@string/app_name"
+ android:restoreAnyVersion="true"
+ android:supportsRtl="true"
+ android:icon="@mipmap/ic_launcher_wallpaper">
+
+ <activity
+ android:name="org.cyanogenmod.wallpaperpicker.WallpaperPickerActivity"
+ android:theme="@style/Theme.WallpaperPicker"
+ android:label="@string/pick_wallpaper"
+ android:icon="@mipmap/ic_launcher_wallpaper"
+ android:finishOnCloseSystemDialogs="true">
+ <intent-filter>
+ <action android:name="android.intent.action.SET_WALLPAPER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.SET_KEYGUARD_WALLPAPER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ <activity
+ android:name="org.cyanogenmod.wallpaperpicker.WallpaperCropActivity"
+ android:theme="@style/Theme.WallpaperCropper"
+ android:label="@string/crop_wallpaper"
+ android:icon="@mipmap/ic_launcher_wallpaper"
+ android:finishOnCloseSystemDialogs="true">
+ <intent-filter>
+ <action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="image/*" />
+ </intent-filter>
+ </activity>
+
+ </application>
+</manifest>