mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Prompt for registration on install until successful.
Closes #2657 // FREEBIE
This commit is contained in:
parent
4185006147
commit
e142cb6d26
@ -160,8 +160,6 @@ public class RegistrationActivity extends BaseActionBarActivity {
|
||||
public void onClick(View v) {
|
||||
final RegistrationActivity self = RegistrationActivity.this;
|
||||
|
||||
TextSecurePreferences.setPromptedPushRegistration(self, true);
|
||||
|
||||
if (TextUtils.isEmpty(countryCode.getText())) {
|
||||
Toast.makeText(self,
|
||||
getString(R.string.RegistrationActivity_you_must_specify_your_country_code),
|
||||
|
@ -292,6 +292,7 @@ public class RegistrationService extends Service {
|
||||
TextSecurePreferences.setPushServerPassword(this, password);
|
||||
TextSecurePreferences.setSignalingKey(this, signalingKey);
|
||||
TextSecurePreferences.setSignedPreKeyRegistered(this, true);
|
||||
TextSecurePreferences.setPromptedPushRegistration(this, true);
|
||||
}
|
||||
|
||||
private void setState(RegistrationState state) {
|
||||
|
Loading…
Reference in New Issue
Block a user