mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Updates to app to icon animation, and turns on ADAPTIVE_ICON_WINDOW_ANIM flag.
- getFirstMatchForAppClose now only looks at the current page, since switching pages is disruptive and the animation for app closing to an icon on a different page is unclear. - Searches for package name and user id (in case of work profile app) instead of component name to handle shortcuts and trampoline activities. - Adaptive icon background drawable is now always centered - Fix crash that occurs when ADAPTIVE_ICON_WINDOW_ANIM is off. We were trying to set FolderAdaptiveIcon as the background drawable. Simplest solution is to not use folder as a search criteria when the flag is off. - Similar to DragView, FloatingIconView now uses BubbleTextView icon when adaptive icon support is not available. This handles legacy-treated apps. Bug: 123900446 Change-Id: Idaf292bb39d78db511cf2ee04a16b191454846b3
This commit is contained in:
@@ -102,7 +102,7 @@ abstract class BaseFlags {
|
||||
false, "Enable springs for quickstep animations");
|
||||
|
||||
public static final TogglableFlag ADAPTIVE_ICON_WINDOW_ANIM = new TogglableFlag(
|
||||
"ADAPTIVE_ICON_WINDOW_ANIM", false,
|
||||
"ADAPTIVE_ICON_WINDOW_ANIM", true,
|
||||
"Use adaptive icons for window animations.");
|
||||
|
||||
public static final TogglableFlag ENABLE_QUICKSTEP_LIVE_TILE = new TogglableFlag(
|
||||
|
||||
Reference in New Issue
Block a user