Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for resource/folder when ACTION_VIEW fails while pointing to downloads directory #604

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Update Context.kt
shtrophic authored Nov 2, 2023
commit 1bc0f6d3ff5ea2d481a41dafa83345d02d909bc5
3 changes: 1 addition & 2 deletions core/ktx/src/main/java/de/mm20/launcher2/ktx/Context.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.mm20.launcher2.ktx

import android.content.ActivityNotFoundException
import android.content.ComponentName
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
@@ -29,4 +28,4 @@ fun Context.tryStartActivity(intent: Intent, bundle: Bundle? = null): Boolean {
} catch (e: SecurityException) {
false
}
}
}