mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Add debugging logs for PIN re-register flow.
This commit is contained in:
@@ -122,6 +122,7 @@ public final class RegistrationViewModel extends BaseRegistrationViewModel {
|
||||
}
|
||||
|
||||
public void setUserSkippedReRegisterFlow(boolean userSkippedReRegisterFlow) {
|
||||
Log.i(TAG, "User skipped re-register flow.");
|
||||
this.userSkippedReRegisterFlow = userSkippedReRegisterFlow;
|
||||
if (userSkippedReRegisterFlow) {
|
||||
setAutoShowSmsConfirmDialog(true);
|
||||
@@ -339,6 +340,7 @@ public final class RegistrationViewModel extends BaseRegistrationViewModel {
|
||||
|
||||
return Single.just(hasRecoveryPassword())
|
||||
.flatMap(hasRecoveryPassword -> {
|
||||
Log.i(TAG, "Checking if user has existing recovery password: " + hasRecoveryPassword);
|
||||
if (hasRecoveryPassword) {
|
||||
return Single.just(true);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user