Fetching assist data only if required by overlay

> Preloading assist data after the touch interaction is complete
> Fixing swipe-up callbacks called in case of quickscrub

Bug: 110532258
Change-Id: I472884ec96be877db5f38098fd0165d464e836ed
This commit is contained in:
Sunny Goyal committed 2018-06-21 12:18:33 -07:00
1 parent 2de013874f
commit b44c6552b3
6 files changed
+78 -23

No files matched your search

@@ -18,6 +18,7 @@ package com.android.quickstep;
import android.content.Context;
import android.graphics.Matrix;
import android.support.annotation.AnyThread;
import android.view.View;
import com.android.launcher3.R;
@@ -42,6 +43,11 @@ public class TaskOverlayFactory {
return sInstance;
}
@AnyThread
public boolean needAssist() {
return false;
}
public TaskOverlay createOverlay(View thumbnailView) {
return new TaskOverlay();
}