Merge "use FgThread.class instead of UiThread.class for lock object" am: e2fddf56a4
am: a7d45cf3f0
Change-Id: If9a509ff24e5ea52602f50eb977ac94652bf2978
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user