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

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

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

* commit '07a2ebd3':
  Fix thread affinity of FingerprintManager.
parents 9c14b3ab 07a2ebd3
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() {