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

Commit 945b6893 authored by Dave Mankoff's avatar Dave Mankoff Committed by Android (Google) Code Review
Browse files

Merge "Remove KeyguardUpdateMonitor.getInstance()."

parents 002b6546 cd84b099
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -217,8 +217,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
        }
    }

    private static KeyguardUpdateMonitor sInstance;

    private final Context mContext;
    private final boolean mIsPrimaryUser;
    HashMap<Integer, SimData> mSimDatas = new HashMap<Integer, SimData>();
@@ -1389,15 +1387,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
        Trace.endSection();
    }


    /** Provides access to the static instance. */
    public static KeyguardUpdateMonitor getInstance(Context context) {
        if (sInstance == null) {
            sInstance = new KeyguardUpdateMonitor(context, Looper.getMainLooper());
        }
        return sInstance;
    }

    protected void handleStartedGoingToSleep(int arg1) {
        checkIsHandlerThread();
        mLockIconPressed = false;