-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
approvedbugnavigationNavigation matters (e.g. covered under #11072)Navigation matters (e.g. covered under #11072)technical debt
Description
Hi,
On the first start (without being connected), The FirstRunActivity is launched after a few Intents.
And, when you access this Activity, and lock your phone, and reopen it, you should go back to this "FirstRunActivity", but instead you're redirected directly to login and a thread crashes.
So why don't we redirect immediatly to FirstRunActivity through MainApp instead of passing from FileDisplayActivity, and why we don't relaunch this activity onRestart ? And why is it a MediaFolder detection before ANY connection (which fails and kill the thread)? :
2019-12-12 16:47:53.267 16477-25164/XXXXXXXXX E/JobExecutor: Crashed job{id=27, finished=true, result=FAILURE, canceled=false, periodic=true, class=MediaFoldersDetectionJob, tag=MediaFoldersDetectionJob}
java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=16477, uid=10468 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
at android.os.Parcel.createException(Parcel [...]
So, what is the "wanted" behaviour for the first launch ? And why do we pass through FileDisplayActivity without being connected ?
V. 3.9.2
Metadata
Metadata
Assignees
Labels
approvedbugnavigationNavigation matters (e.g. covered under #11072)Navigation matters (e.g. covered under #11072)technical debt