Create a separate wallpaper crop activity

Change-Id: Ifb0a7dcb5a6e9ddd4f4bbccc793d9b4db1256cf2
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 477c4e1..a91de65 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