SecUSo / privacy-friendly-memo-game

Privacy Friendly App for playing "pairs" on Android devices.
GNU General Public License v3.0
26 stars 25 forks source link

java.lang.SecurityException #11

Closed Yonjuni closed 5 years ago

Yonjuni commented 7 years ago

Reported from Android 6

java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{174e0e0 20877:org.secuso.privacyfriendlymemory/u0a340} (pid=20877, uid=10340) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS at android.os.Parcel.readException(Parcel.java:1620) at android.os.Parcel.readException(Parcel.java:1573) at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:4241) at android.app.ActivityThread.acquireProvider(ActivityThread.java:6394) at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2380) at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1521) at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1139) at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:991) at android.content.ContentResolver.openInputStream(ContentResolver.java:711) at org.secuso.privacyfriendlymemory.ui.MemoImageAdapter.decodeUri(MemoImageAdapter.java:89) at org.secuso.privacyfriendlymemory.ui.MemoImageAdapter.getView(MemoImageAdapter.java:74) at android.widget.AbsListView.obtainView(AbsListView.java:2934) at android.widget.GridView.makeAndAddView(GridView.java:1463) at android.widget.GridView.makeRow(GridView.java:366) at android.widget.GridView.fillDown(GridView.java:307) at android.widget.GridView.fillSpecific(GridView.java:591) at android.widget.GridView.layoutChildren(GridView.java:1302) at android.widget.AbsListView.onLayout(AbsListView.java:2728) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1080) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:131) at android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42) at android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1367) at android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:849) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1193) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344) at android.widget.FrameLayout.onLayout(FrameLayout.java:281) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585) at android.widget.LinearLayout.onLayout(LinearLayout.java:1494) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344) at android.widget.FrameLayout.onLayout(FrameLayout.java:281) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585) at android.widget.LinearLayout.onLayout(LinearLayout.java:1494) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344) at android.widget.FrameLayout.onLayout(FrameLayout.java:281) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344) at android.widget.FrameLayout.onLayout(FrameLayout.java:281) at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3129) at android.view.View.layout(View.java:17972) at android.view.ViewGroup.layout(ViewGroup.java:5814) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2718) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2419) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1489) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7472) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920) at android.view.Choreographer.doCallbacks(Choreographer.java:695) at android.view.Choreographer.doFrame(Choreographer.java:631) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7231) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)