Revert "Add logging when registration can't be completed."

This reverts commit 2c47cd2422.
This commit is contained in:
Greyson Parrelli
2025-09-04 16:49:30 -04:00
parent b1f067536b
commit e1e41b6f7f

View File

@@ -64,22 +64,6 @@ public final class RegistrationUtil {
} else if (!SignalStore.registration().isRegistrationComplete()) {
Log.i(TAG, "Registration is not yet complete.", new Throwable());
boolean isRegistrationComplete = SignalStore.registration().isRegistrationComplete();
boolean isRegistered = SignalStore.account().isRegistered();
boolean hasProfileName = isRegistered && !Recipient.self().getProfileName().isEmpty();
boolean hasPinOrOptedOut = SignalStore.svr().hasPin() || SignalStore.svr().hasOptedOut();
boolean hasTerminalDecisionStateOrRestoreAfterRegistration = !RemoteConfig.restoreAfterRegistration() || RestoreDecisionStateUtil.isTerminal(SignalStore.registration().getRestoreDecisionState());
Log.i(TAG,
String.format(
"RegistrationState {\n\tisRegistrationComplete: %b\n\tisRegistered: %b\n\thasProfileName: %b\n\thasPinOrOptedOut: %b\n\thasTerminalDecisionStateOrRestoreAfterRegistration: %b\n}",
isRegistrationComplete,
isRegistered,
hasProfileName,
hasPinOrOptedOut,
hasTerminalDecisionStateOrRestoreAfterRegistration
));
}
}
}