mirror of
https://github.com/bitwarden/android.git
synced 2026-05-10 16:45:43 -05:00
BIT-756: Wrap startActivity in IntentManager with try catch (#865)
This commit is contained in:
@@ -52,7 +52,11 @@ class IntentManagerImpl(
|
||||
private val clock: Clock = Clock.systemDefaultZone(),
|
||||
) : IntentManager {
|
||||
override fun startActivity(intent: Intent) {
|
||||
context.startActivity(intent)
|
||||
try {
|
||||
context.startActivity(intent)
|
||||
} catch (e: ActivityNotFoundException) {
|
||||
// no-op
|
||||
}
|
||||
}
|
||||
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user