mvysny / photocloud-frame-slideshow

Android Digital Photo Frame
https://www.android-photo-frame.eu
15 stars 1 forks source link

Show which stream is unlinked #62

Closed mvysny closed 6 years ago

mvysny commented 6 years ago

Dropbox often becomes unlinked and photocloud tend to crash for the user:

Caused by java.lang.IllegalStateException: Dropbox is not linked!
       at sk.baka.photoframe.stream.StreamSource.newFileSystem(StreamSource.kt:274)
       at sk.baka.photoframe.stream.StreamSource.newFileSystem(StreamSource.kt:203)
       at sk.baka.photoframe.stream.StreamSource.newFileSystem$default(StreamSource.kt:202)
       at sk.baka.photoframe.frame.PhotoIterator.createIterator(PhotoIterator.kt:66)
       at sk.baka.photoframe.frame.PhotoIterator.createIterator(PhotoIterator.kt:32)
       at sk.baka.photoframe.frame.PhotoFrameActivity.onCreate(PhotoFrameActivity.kt:108)
       at android.app.Activity.performCreate(Activity.java:5188)
       at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
  1. Improve unlinked detection on activity launch
  2. Show which streams are unlinked in the stream list activity
mvysny commented 6 years ago

Fixed in 1.10.7