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

@@ -256,6 +256,10 @@ public class RecentsModel extends TaskStackChangeListener {
}
}
public void resetAssistCache() {
mCachedAssistData.clear();
}
@WorkerThread
public void preloadAssistData(int taskId, Bundle data) {
mMainThreadExecutor.execute(() -> {