mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-11 23:04:01 +00:00
Merge "Always treat FallbackRecentsView as visible if isInLiveTileMode is true" into sc-dev
This commit is contained in:
@@ -107,10 +107,9 @@ public final class FallbackActivityInterface extends
|
||||
public RecentsView getVisibleRecentsView() {
|
||||
RecentsActivity activity = getCreatedActivity();
|
||||
if (activity != null) {
|
||||
RecentsView recentsView = activity.getOverviewPanel();
|
||||
if (activity.hasBeenResumed() || (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode()
|
||||
&& recentsView.getRunningTaskId() == -1)) {
|
||||
return recentsView;
|
||||
if (activity.hasBeenResumed()
|
||||
|| (ENABLE_QUICKSTEP_LIVE_TILE.get() && isInLiveTileMode())) {
|
||||
return activity.getOverviewPanel();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user