Merge "DejankUtils fix for wrong thread init" into sc-dev

This commit is contained in:
TreeHugger Robot
2021-04-10 01:04:21 +00:00
committed by Android (Google) Code Review

View File

@@ -360,10 +360,12 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
@Override
public void onChanged(BiometricSourceType type, boolean enabled, int userId)
throws RemoteException {
if (type == BiometricSourceType.FACE) {
mFaceSettingEnabledForUser.put(userId, enabled);
updateFaceListeningState();
}
mHandler.post(() -> {
if (type == BiometricSourceType.FACE) {
mFaceSettingEnabledForUser.put(userId, enabled);
updateFaceListeningState();
}
});
}
};