Clear unauthorized banner on registration.
This commit is contained in:
parent
e810eeec58
commit
0a00413228
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ public final class RegistrationRepository {
|
|||
SignalStore.account().setServicePassword(registrationData.getPassword());
|
||||
SignalStore.account().setRegistered(true);
|
||||
TextSecurePreferences.setPromptedPushRegistration(context, true);
|
||||
TextSecurePreferences.setUnauthorizedReceived(context, false);
|
||||
NotificationManagerCompat.from(context).cancel(NotificationIds.UNREGISTERED_NOTIFICATION_ID);
|
||||
|
||||
PinState.onRegistration(context, kbsData, pin, hasPin, setRegistrationLockEnabled);
|
||||
|
|
Loading…
Add table
Reference in a new issue