mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-25 13:39:24 +00:00
Revert "Add logging when registration can't be completed."
This reverts commit 2c47cd2422.
This commit is contained in:
@@ -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
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user