title: Widgets and the MediaStore
body: <p>I am new to coding in java and I am trying to access the mediastore images from the collectionWidgetViewFactory but when i'm testing it, I am getting a permission error. I do not have an activity so there is no way for me to use the ActivityCompat.requestPermission method. Is there a way to get the permissions necessary to access the Mediastore without an activity?</p>
  
  <p>thanks</p>