Merge branch 'heads/android-14.0.0_r18' into 14-dev
This commit is contained in:
1 parent
32700b0100
commit
cc8f9828ab
756 files changed
+23785
-12235
No files matched your search
@@ -21,6 +21,7 @@ import android.os.Process;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.LinkedBlockingQueue;
|
||||
import java.util.concurrent.ThreadFactory;
|
||||
import java.util.concurrent.ThreadPoolExecutor;
|
||||
@@ -58,6 +59,11 @@ public class Executors {
|
||||
new LooperExecutor(
|
||||
createAndStartNewLooper("UiThreadHelper", Process.THREAD_PRIORITY_FOREGROUND));
|
||||
|
||||
|
||||
/** A background executor to preinflate views. */
|
||||
public static final ExecutorService VIEW_PREINFLATION_EXECUTOR =
|
||||
java.util.concurrent.Executors.newSingleThreadExecutor();
|
||||
|
||||
/**
|
||||
* Utility method to get a started handler thread statically
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user