* commit '07a2ebd39d4c77c2dbd3c6e2bddecf76894f9fba': Fix thread affinity of FingerprintManager.
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user