-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PixelHome: Workaround the Icon pack issue on adaptive apps
pixelhome: Fix that legacy mask :( On the previous icon pack commit, there was an issue regarding icon packs and adaptive icons. When an app that got an icon targeted as SDK +26 (adaptive-ready) and got a custom icon from a icon pack, the icon would take the new icon as foreground and it'll take the generic white adaptive background. (see before photo to see it in action) Now, with this commit, if the icon packs supports the respective icon, it'll apply just the icon image instead of doing that. It's not the best approach, but it's a quick workaround till there's a better method. (see after) Also, disable the spring animation that would show the original icon Change-Id: Ie639d056413a13897acd2dc1eeb6c5632a0aa645 Before: https://i.imgur.com/nlqBVlQ.png?1 After: https://i.imgur.com/HIkcg5D.png?1
- Loading branch information
1 parent
d19e74f
commit 39cad64
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters