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

Commit cd84b099 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Remove KeyguardUpdateMonitor.getInstance().

This class is now provided via dependency injection.

This fixes the fingerprint sensor.

Bug: 140712902
Test: manual.
Change-Id: I37f55e946d67e6c7ad443a2110ad4955fdb52894
parent 1cf41847
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;