Catch security exception
This commit is contained in:
parent
d797263c0a
commit
fb41d3e2ab
@ -73,6 +73,8 @@ data class LauncherShortcut(
|
||||
return false
|
||||
} catch (e: ActivityNotFoundException) {
|
||||
return false
|
||||
} catch (e: SecurityException) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user