tachiyomi/app
Ken Swenson b0482003bd Handle ActivityNotFoundException (#1170)
* [SettingsBackupController] Handle ActivityNotFoundException

When using `Intent.ACTION_CREATE_DOCUMENT` on SDK >= Lollipop there is no
guarantee that the ROM supports the built in file picker such as MIUI

* [SettingsBackupController] Add import for ActivityNotFoundException

* Add additional handlers to Android document intents

* Requested review changes

Move `try {`s to top of block
Replace version numbers with `Build.VERSION_CODES.LOLLIPOP`
Break out custom file picker intent to Context extention `Context.getFilePicker`
Rename `val i` to `val intent` to be more clear with variable names

* Add version check to custom file picker after exception
2018-01-12 10:57:21 +01:00
..
src Handle ActivityNotFoundException (#1170) 2018-01-12 10:57:21 +01:00
.gitignore Gradle custom script 'app/custom.gradle' (#473) 2016-09-23 20:50:01 +02:00
build.gradle Release v0.6.7 2018-01-09 20:42:44 +01:00
proguard-rules.pro Glide v4 2017-10-14 18:16:11 +02:00
shortcuts.xml Update Android Studio to 3.0 2017-10-28 14:44:19 +02:00