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

Commit ab5ed9d2 authored by Alex Klyubin's avatar Alex Klyubin Committed by Android Git Automerger
Browse files

am c9122d6f: am 07a2ebd3: am 0069301d: Merge "Fix thread affinity of...

am c9122d6f: am 07a2ebd3: am 0069301d: Merge "Fix thread affinity of FingerprintManager." into mnc-dev

* commit 'c9122d6f':
  Fix thread affinity of FingerprintManager.
parents 6b379c8a c9122d6f
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -626,7 +626,13 @@ public class FingerprintManager {
        return 0;
    }

    private Handler mHandler = new Handler() {
    private Handler mHandler;

    private class MyHandler extends Handler {
        private MyHandler(Context context) {
            super(context.getMainLooper());
        }

        public void handleMessage(android.os.Message msg) {
            switch(msg.what) {
                case MSG_ENROLL_RESULT:
@@ -711,6 +717,7 @@ public class FingerprintManager {
        if (mService == null) {
            Slog.v(TAG, "FingerprintManagerService was null");
        }
        mHandler = new MyHandler(context);
    }

    private int getCurrentUserId() {