diff options
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 |