mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Merge "Set "usingRemoteAnim" for fallback recents" into ub-launcher3-qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7b48548546
@@ -45,12 +45,12 @@ public final class FallbackActivityControllerHelper extends
|
||||
@Override
|
||||
public AnimationFactory prepareRecentsUI(RecentsActivity activity, boolean activityVisible,
|
||||
boolean animateActivity, Consumer<AnimatorPlaybackController> callback) {
|
||||
// TODO: Logic for setting remote animation
|
||||
if (activityVisible) {
|
||||
return (transitionLength) -> { };
|
||||
}
|
||||
|
||||
IconRecentsView rv = activity.getOverviewPanel();
|
||||
rv.setUsingRemoteAnimation(true);
|
||||
rv.setAlpha(0);
|
||||
|
||||
return new AnimationFactory() {
|
||||
|
||||
Reference in New Issue
Block a user