diff options
| -rw-r--r-- | services/core/java/com/android/server/FgThread.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/FgThread.java b/services/core/java/com/android/server/FgThread.java index 5f85cbac21d5..18fb4778c2a7 100644 --- a/services/core/java/com/android/server/FgThread.java +++ b/services/core/java/com/android/server/FgThread.java @@ -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; } |