Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7d45cf3 authored by yangbingqian's avatar yangbingqian Committed by android-build-merger
Browse files

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

am: e2fddf56

Change-Id: Ia6d2154bf46d61ea55ef7e41abd538b1c71972b5
parents 06e60333 e2fddf56
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
        }