Using custom threadpool executor instead of the one defined in AsyncTask

Change-Id: I8fe95d932c5de14c74f0576bfc3d1f641d12b448
This commit is contained in:
Sunny Goyal committed 2015-09-23 15:39:14 -07:00
1 parent ce0a89461a
commit 8ac727b2c6
6 files changed
+21 -19

No files matched your search

+1 -1
View File
@@ -1326,7 +1326,7 @@ public class Workspace extends PagedView
mLauncher.overrideWallpaperDimensions());
return null;
}
}.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Void) null);
}.executeOnExecutor(Utilities.THREAD_POOL_EXECUTOR);
}
protected void snapToPage(int whichPage, Runnable r) {