Commit 51dccba6 authored by CapsLock's avatar CapsLock

Add new file

parents
diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java
index b30bafee..3cbd777f 100644
--- a/src/org/thoughtcrime/securesms/RegistrationActivity.java
+++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java
@@ -210,16 +210,16 @@ public class RegistrationActivity extends BaseActionBarActivity {
PlayServicesStatus gcmStatus = checkPlayServices(self);
- if (gcmStatus == PlayServicesStatus.SUCCESS) {
- promptForRegistrationStart(self, e164number, true);
- } else if (gcmStatus == PlayServicesStatus.MISSING) {
+ //if (gcmStatus == PlayServicesStatus.SUCCESS) {
+ // promptForRegistrationStart(self, e164number, true);
+ //} else if (gcmStatus == PlayServicesStatus.MISSING) {
promptForNoPlayServices(self, e164number);
- } else if (gcmStatus == PlayServicesStatus.NEEDS_UPDATE) {
- GoogleApiAvailability.getInstance().getErrorDialog(self, ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED, 0).show();
- } else {
- Dialogs.showAlertDialog(self, getString(R.string.RegistrationActivity_play_services_error),
- getString(R.string.RegistrationActivity_google_play_services_is_updating_or_unavailable));
- }
+ //} else if (gcmStatus == PlayServicesStatus.NEEDS_UPDATE) {
+ // GoogleApiAvailability.getInstance().getErrorDialog(self, ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED, 0).show();
+ //} else {
+ // Dialogs.showAlertDialog(self, getString(R.string.RegistrationActivity_play_services_error),
+ // getString(R.string.RegistrationActivity_google_play_services_is_updating_or_unavailable));
+ //}
}
private void promptForRegistrationStart(final Context context, final String e164number, final boolean gcmSupported) {
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment