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

Commit 9ad7ced2 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

am: 26d64311

Change-Id: I666af86709586df062e323d58915605f68b6ca46
parents 529b8e21 26d64311
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;
        }