Defer starting the high-res thumbnail loader until quick step/scrub

- When hitting the home button, we may be loading high-res thumbnails
  unnecessarily since the high-res loader is already enabled when
  Launcher is started.

Bug: 111515602
Bug: 111156069

Change-Id: I367993b4ddf653b816355df005c745caed5e794a
This commit is contained in:
Winson Chung committed 2018-07-18 15:05:54 -07:00
1 parent f912bd955f
commit 8eb49e079e
5 files changed
+22 -1

No files matched your search

@@ -232,7 +232,6 @@ public class RecentsModel extends TaskStackChangeListener {
public void onStart() {
mRecentsTaskLoader.startLoader(mContext);
mRecentsTaskLoader.getHighResThumbnailLoader().setVisible(true);
}
public void onTrimMemory(int level) {