Merge "use FgThread.class instead of UiThread.class for lock object" am: e2fddf56a4 am: a7d45cf3f0 am: 26d6431106

am: 9ad7ced250

Change-Id: If9ce77f713a473e7224142d289e29c5003617c1b
This commit is contained in:
yangbingqian
2017-05-30 22:15:29 +00:00
committed by android-build-merger

View File

@@ -45,14 +45,14 @@ public final class FgThread extends ServiceThread {
}
public static FgThread get() {
synchronized (UiThread.class) {
synchronized (FgThread.class) {
ensureThreadLocked();
return sInstance;
}
}
public static Handler getHandler() {
synchronized (UiThread.class) {
synchronized (FgThread.class) {
ensureThreadLocked();
return sHandler;
}