mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Update to RingRTC v2.28.0
Co-authored-by: Jordan Rose <jrose@signal.org>
This commit is contained in:
committed by
Cody Henthorne
parent
cd9a160cae
commit
c08e108fc3
@@ -1,16 +1,16 @@
|
||||
package org.thoughtcrime.securesms.webrtc;
|
||||
|
||||
/**
|
||||
* Represents the user's desired bandwidth mode for calls.
|
||||
* Represents the user's desired data mode for calls.
|
||||
*/
|
||||
public enum CallBandwidthMode {
|
||||
public enum CallDataMode {
|
||||
LOW_ALWAYS(0),
|
||||
HIGH_ON_WIFI(1),
|
||||
HIGH_ALWAYS(2);
|
||||
|
||||
private final int code;
|
||||
|
||||
CallBandwidthMode(int code) {
|
||||
CallDataMode(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ public enum CallBandwidthMode {
|
||||
return code;
|
||||
}
|
||||
|
||||
public static CallBandwidthMode fromCode(int code) {
|
||||
public static CallDataMode fromCode(int code) {
|
||||
switch (code) {
|
||||
case 1:
|
||||
return HIGH_ON_WIFI;
|
||||
Reference in New Issue
Block a user