Using roundIconRes for loading appInfo icon if launcher's icon is round

Bug: 392145015
Flag: EXEMPT not-supported during overlay change
Test: Verified manually on device
Change-Id: I7aa571e12318c28f8ff373c19a84d4856c57d6c5
This commit is contained in:
Sunny Goyal
2025-01-29 01:14:18 -08:00
parent 1809cb6ff3
commit 2fac3efc38
4 changed files with 37 additions and 2 deletions
@@ -192,4 +192,6 @@ open class SystemApiWrapper @Inject constructor(@ApplicationContext context: Con
override fun getApplicationInfoHash(appInfo: ApplicationInfo): String =
(appInfo.sourceDir?.hashCode() ?: 0).toString() + " " + appInfo.longVersionCode
override fun getRoundIconRes(appInfo: ApplicationInfo) = appInfo.roundIconRes
}