Fix crash
This commit is contained in:
parent
e1e40d08be
commit
9ad4ffc5d2
@ -146,6 +146,8 @@ class IconPackManager(
|
|||||||
pm.getResourcesForApplication(pack)
|
pm.getResourcesForApplication(pack)
|
||||||
} catch (e: Resources.NotFoundException) {
|
} catch (e: Resources.NotFoundException) {
|
||||||
return null
|
return null
|
||||||
|
} catch (e: PackageManager.NameNotFoundException) {
|
||||||
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mask != null) {
|
if (mask != null) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user