Adding fallback recents activity

> Refactoring RecentsView to a common base class
> Moving some dependency form Launcher to BaseActivity
> Using the Recents view in RecentsActivity

Change-Id: Ie0e6741d356291e77420798c140c999121de3a0d
This commit is contained in:
Sunny Goyal
2018-03-13 09:57:05 -07:00
parent 87dd782e40
commit f633ef5f43
29 changed files with 391 additions and 251 deletions

View File

@@ -32,8 +32,8 @@ import com.android.launcher3.anim.AnimationSuccessListener;
import com.android.launcher3.anim.AnimatorSetBuilder;
import com.android.launcher3.anim.Interpolators;
import com.android.quickstep.AnimatedFloat;
import com.android.quickstep.RecentsView;
import com.android.quickstep.TaskView;
import com.android.quickstep.views.RecentsView;
import com.android.quickstep.views.TaskView;
public class RecentsViewStateController implements StateHandler {
@@ -50,7 +50,6 @@ public class RecentsViewStateController implements StateHandler {
public RecentsViewStateController(Launcher launcher) {
mLauncher = launcher;
mRecentsView = launcher.getOverviewPanel();
mRecentsView.setStateController(this);
}
@Override