Log successful pin setting.

This commit is contained in:
Alan Evans 2020-05-19 15:42:49 -03:00 committed by Alex Hart
parent b509ee9ee0
commit 34159fc9da

View File

@ -335,6 +335,8 @@ public final class PinState {
kbsValues.setKbsMasterKey(newData, PinHashing.localPinHash(pin));
TextSecurePreferences.clearRegistrationLockV1(context);
Log.i(TAG, "Pin set/attempts reset on KBS");
} catch (IOException e) {
Log.w(TAG, "May have failed to reset pin attempts!", e);
} catch (UnauthenticatedResponseException e) {