Skip to content

Commit

Permalink
Fix AOSP build
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed May 30, 2024
1 parent 40a9f5a commit cd8e18c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ internal class IconManager(
zip.setLevel(BEST_SPEED)
val entries = mutableSetOf<String>()
packageService.allUserPackages.forEach {
if (it.applicationInfo == null) return@forEach
val drawable = packageManager.getApplicationIcon(it.applicationInfo)
if (packageManager.isDefaultApplicationIcon(drawable)) return@forEach
val entry = ZipEntry(it.packageName)
Expand Down

0 comments on commit cd8e18c

Please sign in to comment.