Skip to content

Commit

Permalink
[release] 5.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
heyanLE committed Aug 4, 2024
1 parent 5f0d88e commit 804c7cd
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,16 @@ class CartoonPlayingViewModel(
if (uri.scheme == "file") {
val file = File(uri.path ?: "")
if (file.exists()) {
uri = FileProvider.getUriForFile(
APP,
APP.packageName + ".provider",
file
)
try {
uri = FileProvider.getUriForFile(
APP,
APP.packageName + ".provider",
file
)
}catch (e: Throwable) {
e.printStackTrace()
}

}
}
APP.startActivity(Intent("android.intent.action.VIEW").apply {
Expand Down

0 comments on commit 804c7cd

Please sign in to comment.