mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-25 20:48:46 +00:00
Support for using Signal without Play Services
This is now possible with beta calling, so non-GCM users are a part of beta calling by default. // FREEBIE
This commit is contained in:
@@ -99,7 +99,9 @@ public class AdvancedPreferenceFragment extends PreferenceFragment {
|
||||
}
|
||||
|
||||
private void initializeWebrtcCallingToggle() {
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
if (TextSecurePreferences.isGcmDisabled(getContext())) {
|
||||
getPreferenceScreen().removePreference(findPreference(TextSecurePreferences.WEBRTC_CALLING_PREF));
|
||||
} else if (Build.VERSION.SDK_INT >= 11) {
|
||||
this.findPreference(TextSecurePreferences.WEBRTC_CALLING_PREF)
|
||||
.setOnPreferenceChangeListener(new WebRtcClickListener());
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user