Catch security exception
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user