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