title: Deprecated "getBitmap" with API 29. Any alternative codes?
body: <p>My <code>onActivityResult</code> is not working because <code>getBitmap</code> is deprecated, any alternative codes to achieve this?</p>
  
  <p>here are the codes that needs to be changed, any suggestions?</p>
  
  <pre><code>val bitmap = MediaStore.Images.Media.getBitmap(contentResolver, selectedPhotoUri)
  </code></pre>
  
  <p>the <code>getBitmap</code> is crossed and says its deprecated</p>