Add debugging logs for PIN re-register flow.
This commit is contained in:
parent
5f0035b2d0
commit
e810eeec58
2 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,7 @@ class SignalBackupAgent : BackupAgent() {
|
|||
}
|
||||
|
||||
override fun onRestore(dataInput: BackupDataInput, appVersionCode: Int, newState: ParcelFileDescriptor) {
|
||||
Log.i(TAG, "Restoring from Android Backup Service.")
|
||||
while (dataInput.readNextHeader()) {
|
||||
val buffer = ByteArray(dataInput.dataSize)
|
||||
dataInput.readEntityData(buffer, 0, dataInput.dataSize)
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue