Skip to content

Commit

Permalink
Fix isVisible NoSuchField issue (LawnchairLauncher#4402)
Browse files Browse the repository at this point in the history
  • Loading branch information
berkekbgz committed May 19, 2024
1 parent 5acb42c commit 84ff0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickstep/src/com/android/quickstep/TopTaskTracker.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public boolean isRootChooseActivity() {
return null;
}
List<RunningTaskInfo> visibleNonExcludedTasks = mAllCachedTasks.stream()
.filter(t -> (t.isVisible && LawnchairQuickstepCompat.ATLEAST_S)
.filter(t -> (LawnchairQuickstepCompat.ATLEAST_S && t.isVisible)
&& (t.baseIntent.getFlags() & FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS) == 0)
.collect(Collectors.toList());
return visibleNonExcludedTasks.isEmpty() ? null
Expand Down

0 comments on commit 84ff0e6

Please sign in to comment.