That fuck shit the fascists are using
at master 29 lines 1.5 kB view raw
1package org.tm.archive.logsubmit; 2 3import android.content.Context; 4 5import androidx.annotation.NonNull; 6 7import org.tm.archive.keyvalue.SignalStore; 8 9public class LogSectionPin implements LogSection { 10 11 @Override 12 public @NonNull String getTitle() { 13 return "PIN STATE"; 14 } 15 16 @Override 17 public @NonNull CharSequence getContent(@NonNull Context context) { 18 return new StringBuilder().append("Last Successful Reminder Entry: ").append(SignalStore.pinValues().getLastSuccessfulEntryTime()).append("\n") 19 .append("Next Reminder Interval: ").append(SignalStore.pinValues().getCurrentInterval()).append("\n") 20 .append("Reglock: ").append(SignalStore.svr().isRegistrationLockEnabled()).append("\n") 21 .append("Signal PIN: ").append(SignalStore.svr().hasPin()).append("\n") 22 .append("Opted Out: ").append(SignalStore.svr().hasOptedOut()).append("\n") 23 .append("Last Creation Failed: ").append(SignalStore.svr().lastPinCreateFailed()).append("\n") 24 .append("Needs Account Restore: ").append(SignalStore.storageService().needsAccountRestore()).append("\n") 25 .append("PIN Required at Registration: ").append(SignalStore.registrationValues().pinWasRequiredAtRegistration()).append("\n") 26 .append("Registration Complete: ").append(SignalStore.registrationValues().isRegistrationComplete()); 27 28 } 29}