WindSekirun/RichUtilsKt

crash when picking image on Google Photo, Samsung Gallery

WindSekirun opened this issue · 3 comments

crash when picking image on Google Photo, Samsung Gallery

Case of Google Photo

urlString: content://com.google.android.apps.photos.contentprovider/2/1/mediakey%3A%2Flocal%253Aa76ef5cf-a011-4999-ac93-0cb9b29f998e/ORIGINAL/NONE/1522628562
or
urlString: content://com.google.android.apps.photos.content/2/1/mediakey%3A%2Flocal%253Aa76ef5cf-a011-4999-ac93-0cb9b29f998e/ORIGINAL/NONE/1522628562

Case of Samsung Gallery
urlString: content://com.sec.android.gallery3d.provider/union/image/item/2104

In most cases, this is an error because user tried to fetch an image that does not exist on physical device. Therefore, we will process the exception in that part.