Glimpse: SetWallpaperActivity: Prefer system cropper

Change-Id: I437213df159f013091caa6d4151e79958a7f4196
diff --git a/app/src/main/java/org/lineageos/glimpse/SetWallpaperActivity.kt b/app/src/main/java/org/lineageos/glimpse/SetWallpaperActivity.kt
index bf77238..bb8b218 100644
--- a/app/src/main/java/org/lineageos/glimpse/SetWallpaperActivity.kt
+++ b/app/src/main/java/org/lineageos/glimpse/SetWallpaperActivity.kt
@@ -54,6 +54,15 @@
             return
         }
 
+        // Try to offload this task to styles and wallpaper
+        runCatching {
+            startActivity(wallpaperManager.getCropAndSetWallpaperIntent(wallpaperUri))
+            finish()
+            return
+        }
+
+        // If we reached this point, we have to do stuff on our own
+
         // Check if the wallpaper can be changed
         if (!wallpaperManager.isWallpaperSupported || !wallpaperManager.isSetWallpaperAllowed) {
             Toast.makeText(