Merge "use FgThread.class instead of UiThread.class for lock object"

This commit is contained in:
Treehugger Robot
2017-05-30 21:35:11 +00:00
committed by Gerrit Code Review

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;
}