title: How to call right way set Wallpaper intent?
body: <p>I'm working wallpaper application and having a problem with set wallpaper intent. I'm tried FileProvider, nothing changed.</p>
  
  <p>My code showing this intent:
  (1) <a href="https://i.ibb.co/RcW15qb/1.png" rel="nofollow noreferrer">https://i.ibb.co/RcW15qb/1.png</a></p>
  
  <p>after select:
  (2) <a href="https://i.ibb.co/nsQNvms/Screenshot-1568305811.png" rel="nofollow noreferrer">https://i.ibb.co/nsQNvms/Screenshot-1568305811.png</a></p>
  
  <p>but I want like this:
  (3) <a href="https://i.ibb.co/F53p6sv/Screenshot-1568305398.png" rel="nofollow noreferrer">https://i.ibb.co/F53p6sv/Screenshot-1568305398.png</a></p>
  
  <pre><code>fun setWallpaper (uri:Uri) {
  val intent = Intent(Intent.ACTION_ATTACH_DATA) 
  intent.addCategory(Intent.CATEGORY_DEFAULT)
  intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
  intent.setDataAndType(uri, "image/*")
  intent.putExtra("mimeType", "image/*")
  startActivity(Intent.createChooser(intent, "Set as:"))}
  </code></pre>
  
  <p>I'm searched and tried smiliar set wallpaper intent example. Working but picture 1 and 2. I need intent like picture 3</p>
  
  <p>Edit: I found but without scrolling and fixed options</p>
  
  <pre><code> val intent = Intent("android.service.wallpaper.CROP_AND_SET_WALLPAPER")
  </code></pre>
  
  <p>(4) <a href="https://i.ibb.co/H4vqdGF/Screenshot-1568315850.png" rel="nofollow noreferrer">https://i.ibb.co/H4vqdGF/Screenshot-1568315850.png</a></p>