mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Update to RingRTC v2.44.3
This commit is contained in:
committed by
Cody Henthorne
parent
d91760eefc
commit
a3d1197aef
@@ -520,10 +520,10 @@ class InternalSettingsFragment : DSLSettingsFragment(R.string.preferences__inter
|
||||
)
|
||||
|
||||
switchPref(
|
||||
title = DSLSettingsText.from("Disable LBRed"),
|
||||
isChecked = state.callingDisableLBRed,
|
||||
title = DSLSettingsText.from("Enable Oboe ADM"),
|
||||
isChecked = state.callingEnableOboeAdm,
|
||||
onClick = {
|
||||
viewModel.setInternalCallingDisableLBRed(!state.callingDisableLBRed)
|
||||
viewModel.setInternalCallingEnableOboeAdm(!state.callingEnableOboeAdm)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ data class InternalSettingsState(
|
||||
val callingAudioProcessingMethod: CallManager.AudioProcessingMethod,
|
||||
val callingDataMode: CallManager.DataMode,
|
||||
val callingDisableTelecom: Boolean,
|
||||
val callingDisableLBRed: Boolean,
|
||||
val callingEnableOboeAdm: Boolean,
|
||||
val useBuiltInEmojiSet: Boolean,
|
||||
val emojiVersion: EmojiFiles.Version?,
|
||||
val removeSenderKeyMinimium: Boolean,
|
||||
|
||||
@@ -109,8 +109,8 @@ class InternalSettingsViewModel(private val repository: InternalSettingsReposito
|
||||
refresh()
|
||||
}
|
||||
|
||||
fun setInternalCallingDisableLBRed(enabled: Boolean) {
|
||||
preferenceDataStore.putBoolean(InternalValues.CALLING_DISABLE_LBRED, enabled)
|
||||
fun setInternalCallingEnableOboeAdm(enabled: Boolean) {
|
||||
preferenceDataStore.putBoolean(InternalValues.CALLING_ENABLE_OBOE_ADM, enabled)
|
||||
refresh()
|
||||
}
|
||||
|
||||
@@ -150,7 +150,7 @@ class InternalSettingsViewModel(private val repository: InternalSettingsReposito
|
||||
callingAudioProcessingMethod = SignalStore.internal.callingAudioProcessingMethod(),
|
||||
callingDataMode = SignalStore.internal.callingDataMode(),
|
||||
callingDisableTelecom = SignalStore.internal.callingDisableTelecom(),
|
||||
callingDisableLBRed = SignalStore.internal.callingDisableLBRed(),
|
||||
callingEnableOboeAdm = SignalStore.internal.callingEnableOboeAdm(),
|
||||
useBuiltInEmojiSet = SignalStore.internal.forceBuiltInEmoji(),
|
||||
emojiVersion = null,
|
||||
removeSenderKeyMinimium = SignalStore.internal.removeSenderKeyMinimum(),
|
||||
|
||||
Reference in New Issue
Block a user