Merge "DejankUtils fix for wrong thread init" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c6970005ea
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user