kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
9b8719e2d5
commit
cb6e048070
|
@ -234,7 +234,9 @@ public class AdvancedPreferenceFragment extends PreferenceFragment {
|
|||
Log.w(TAG, e);
|
||||
}
|
||||
|
||||
GoogleCloudMessaging.getInstance(context).unregister();
|
||||
if (!TextSecurePreferences.isGcmDisabled(context)) {
|
||||
GoogleCloudMessaging.getInstance(context).unregister();
|
||||
}
|
||||
|
||||
return SUCCESS;
|
||||
} catch (IOException ioe) {
|
||||
|
|
Ładowanie…
Reference in New Issue