mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Fix task icons sometimes not appearing in recents view
- Call setTaskIconVisible(true) at the end of the gesture regardless of `setCurrentTask`. - Resets the icon visibility when RecentsView resets to make sure the bad state won't get stuck. Fix: 332744660 Flag: EXEMPT bug fix Test: Manual test on device Change-Id: Ie8b86efa4892298f0071ad304a8c77698c306d6a
This commit is contained in:
@@ -2758,6 +2758,7 @@ public abstract class RecentsView<
|
||||
mAppliedTaskListChangeId = -1;
|
||||
setFocusedTaskViewId(INVALID_TASK_ID);
|
||||
mAnyTaskHasBeenDismissed = false;
|
||||
setTaskIconVisible(true);
|
||||
|
||||
if (enableRefactorTaskThumbnail()) {
|
||||
// TODO(b/353917593): RecentsView is never destroyed, so its dependencies need to
|
||||
@@ -3014,6 +3015,7 @@ public abstract class RecentsView<
|
||||
Log.d(TAG, "onGestureAnimationEnd - mEnableDrawingLiveTile: " + mEnableDrawingLiveTile);
|
||||
setRunningTaskHidden(false);
|
||||
startIconFadeInOnGestureComplete();
|
||||
setTaskIconVisible(true);
|
||||
animateActionsViewIn();
|
||||
|
||||
if (mEnableDrawingLiveTile) {
|
||||
|
||||
Reference in New Issue
Block a user