diff options
author | Michael Jurka <mikejurka@google.com> | 2013-09-04 14:42:52 +0200 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2013-09-05 20:37:56 +0200 |
commit | 2d8de5845be5f49d3767b8354f0d5479a0715abe (patch) | |
tree | 590be85280f29f7ea42a2bf4b0dccd4d87b0b6fd /AndroidManifest.xml | |
parent | c0e8b6880ae75c1f5811146ded4b060f8f1a6f84 (diff) | |
download | packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.tar.gz packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.tar.bz2 packages_apps_Trebuchet-2d8de5845be5f49d3767b8354f0d5479a0715abe.zip |
Create a separate wallpaper crop activity
Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r-- | AndroidManifest.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 477c4e1d3..a91de6572 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -110,11 +110,24 @@ android:finishOnCloseSystemDialogs="true" android:process=":wallpaper_chooser"> <intent-filter> - <action android:name="android.intent.action.SET_WALLPAPER" /> + <action android:name="com.android.launcher3.action.CROP_AND_SET_WALLPAPER" /> <category android:name="android.intent.category.DEFAULT" /> + <data android:mimeType="image/*" /> </intent-filter> </activity> + <activity + android:name="com.android.launcher3.WallpaperCropActivity" + android:theme="@style/Theme.WallpaperPicker" + android:label="@string/pick_wallpaper" + android:icon="@mipmap/ic_launcher_wallpaper" + android:finishOnCloseSystemDialogs="true" + android:process=":wallpaper_chooser"> + <intent-filter> + <action android:name="com.android.launcher3.action.CROP_AND_SET_WALLPAPER" /> + <category android:name="android.intent.category.DEFAULT" /> + </intent-filter> + </activity> <!-- Debugging tools --> <activity |