Add a music score to a sheet music collection. Choose a different cover from Google Photos (the windmill). THen save item. Reopen item, the app will crash:
03-30 18:05:48.460: E/AndroidRuntime(3669): FATAL EXCEPTION: ProductUpdater
03-30 18:05:48.460: E/AndroidRuntime(3669): java.lang.SecurityException: Permission Denial: opening provider com.google.android.apps.photos.content.GooglePhotosImageProvider from ProcessRecord{429506d8 3669:net.lp.collectionista.ext.sheet_music/u0a10060} (pid=3669, uid=10060) requires com.google.android.apps.photos.permission.GOOGLE_PHOTOS or com.google.android.apps.photos.permission.GOOGLE_PHOTOS
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.os.Parcel.readException(Parcel.java:1431)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.os.Parcel.readException(Parcel.java:1385)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:2611)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4515)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2036)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1149)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:756)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:662)
03-30 18:05:48.460: E/AndroidRuntime(3669): at android.content.ContentResolver.openInputStream(ContentResolver.java:497)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.util.ImageUtilities.getThumbnail(ImageUtilities.java:444)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.util.ImageUtilities.loadImageResource(ImageUtilities.java:420)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.util.ImageUtilities.getImage(ImageUtilities.java:489)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.domain.items.sheet.SheetItem.getCoverImageForFormField(SheetItem.java:266)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.ui.fragments.items.sheet.music.TabbedMusicSheetItemEditFragment$3.perform(TabbedMusicSheetItemEditFragment.java:494)
03-30 18:05:48.460: E/AndroidRuntime(3669): at net.lp.collectionista.ui.activities.phones.collections.ImageRepresentationLoader$1.run(ImageRepresentationLoader.java:47)
03-30 18:05:48.460: E/AndroidRuntime(3669): at java.lang.Thread.run(Thread.java:841)
Apparently only a temporary permission is administered, but it is expired the second time:
http://stackoverflow.com/questions/21082708/java-lang-securityexception-permission-denial-opening-provider-com-google-andr . Strange that I don't have the problem for other item types.
Bugsense : /www.bugsense. com/dashboard/ project/ 98c9e403/ errors/ 998668128 /www.bugsense. com/dashboard/ project/ 98c9e403/ errors/ 1003128025
https:/
https:/
java.lang. SecurityExcepti on: Permission Denial: opening provider com.google. android. apps.photos. content. GooglePhotosIma geProvider from ProcessRecord{ 4304dd60 27363:net. lp.collectionis ta/u0a237} (pid=27363, uid=10237) requires com.google. android. apps.photos. permission. GOOGLE_ PHOTOS or com.google. android. apps.photos. permission. GOOGLE_ PHOTOS os.Parcel. readException( Parcel. java:1465) os.Parcel. readException( Parcel. java:1419) app.ActivityMan agerProxy. getContentProvi der(ActivityMan agerNative. java:3092) app.ActivityThr ead.acquireProv ider(ActivityTh read.java: 4678) app.ContextImpl $ApplicationCon tentResolver. acquireUnstable Provider( ContextImpl. java:2675) content. ContentResolver .acquireUnstabl eProvider( ContentResolver .java:1428) content. ContentResolver .openTypedAsset FileDescriptor( ContentResolver .java:1050) content. ContentResolver .openAssetFileD escriptor( ContentResolver .java:907) content. ContentResolver .openInputStrea m(ContentResolv er.java: 632) collectionista. util.ImageUtili ties.android. graphics. Bitmap loadImageResour ce(java. lang.String) (Collectionista :422) collectionista. util.ImageUtili ties.android. graphics. Bitmap getImage( java.lang. String) (Collectionista :489) collectionista. domain. items.book. BookItem. android. graphics. Bitmap getCoverImageFo rFormField( )(Collectionist a:1345) collectionista. ui.fragments. items.book. TabbedBookItemE ditFragment$ 3.void perform( )(Collectionist a:518) collectionista. ui.activities. phones. collections. ImageRepresenta tionLoader$ 1.void run()(Collectio nista:47) Thread. run(Thread. java:841)
at android.
at android.
at android.
at android.
at android.
at android.
at android.
at android.
at android.
at net.lp.
at net.lp.
at net.lp.
at net.lp.
at net.lp.
at java.lang.