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

Commit 26d64311 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

am: a7d45cf3

Change-Id: If9a509ff24e5ea52602f50eb977ac94652bf2978
parents ff8b93f8 a7d45cf3
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;
        }