jaiselrahman / FilePicker

FilePicker library for Android
Apache License 2.0
238 stars 70 forks source link

Library causes ANR: Broadcast of Intent { act=android.intent.action.SCREEN_OFF flg=0x50200010 (has extras) } #83

Open Jack29913 opened 3 years ago

Jack29913 commented 3 years ago

I am seeing this issue mainly on Android 10. Here is the stacktrace. Probably related to this issue: https://github.com/jaiselrahman/FilePicker/issues/57

#00  pc 000000000006b63c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
  #00  pc 000000000014ae70  /apex/com.android.runtime/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+136)
  #00  pc 00000000003bb968  /apex/com.android.runtime/lib64/libart.so (art::JNI::NewStringUTF(_JNIEnv*, char const*)+484)
  #00  pc 0000000000034bac  /apex/com.android.runtime/lib64/libjavacore.so (throwException(_JNIEnv*, _jclass*, _jmethodID*, _jmethodID*, char const*, int)+128)
  #00  pc 000000000002c850  /apex/com.android.runtime/lib64/libjavacore.so (Linux_access(_JNIEnv*, _jobject*, _jstring*, int)+112)
  at libcore.io.Linux.access (Native method)
  at libcore.io.ForwardingOs.access (ForwardingOs.java:73)
  at libcore.io.BlockGuardOs.access (BlockGuardOs.java:71)
  at libcore.io.ForwardingOs.access (ForwardingOs.java:73)
  at android.app.ActivityThread$AndroidOs.access (ActivityThread.java:7711)
  at java.io.UnixFileSystem.checkAccess (UnixFileSystem.java:281)
  at java.io.File.exists (File.java:815)
  at com.jaiselrahman.filepicker.utils.a.i (FileUtils.java:7)
  at com.jaiselrahman.filepicker.a.a.e (FileLoader.java:11)
  at com.jaiselrahman.filepicker.a.a.<init> (FileLoader.java:30)
  at com.jaiselrahman.filepicker.a.b.onCreateLoader (FileLoaderCallback.java:1)
  at android.app.LoaderManagerImpl.createLoader (LoaderManager.java:564)
  at android.app.LoaderManagerImpl.createAndInstallLoader (LoaderManager.java:573)
  at android.app.LoaderManagerImpl.initLoader (LoaderManager.java:627)
  at com.jaiselrahman.filepicker.a.a.g (FileLoader.java:4)
  at com.jaiselrahman.filepicker.activity.FilePickerActivity.n (FilePickerActivity.java:1)
  at com.jaiselrahman.filepicker.activity.FilePickerActivity.onCreate (FilePickerActivity.java:44)