diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index 223ce1c556..92f1a67aa6 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -383,7 +383,9 @@ public abstract class RecentsView mSizeStrategy; + @Nullable protected RecentsAnimationController mRecentsAnimationController; + @Nullable protected SurfaceTransactionApplier mSyncTransactionApplier; protected int mTaskWidth; protected int mTaskHeight; @@ -394,12 +396,15 @@ public abstract class RecentsView extends IPipAnimationListener.Stub { + @Nullable private T mActivity; + @Nullable private RecentsView mRecentsView; - public void setActivityAndRecentsView(T activity, RecentsView recentsView) { + public void setActivityAndRecentsView(@Nullable T activity, + @Nullable RecentsView recentsView) { mActivity = activity; mRecentsView = recentsView; }