OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 } else if (key.equals(keyprefVideoCall) | 183 } else if (key.equals(keyprefVideoCall) |
184 || key.equals(keyprefCamera2) | 184 || key.equals(keyprefCamera2) |
185 || key.equals(keyPrefTracing) | 185 || key.equals(keyPrefTracing) |
186 || key.equals(keyprefCaptureQualitySlider) | 186 || key.equals(keyprefCaptureQualitySlider) |
187 || key.equals(keyprefHwCodec) | 187 || key.equals(keyprefHwCodec) |
188 || key.equals(keyprefCaptureToTexture) | 188 || key.equals(keyprefCaptureToTexture) |
189 || key.equals(keyprefNoAudioProcessing) | 189 || key.equals(keyprefNoAudioProcessing) |
190 || key.equals(keyprefAecDump) | 190 || key.equals(keyprefAecDump) |
191 || key.equals(keyprefOpenSLES) | 191 || key.equals(keyprefOpenSLES) |
192 || key.equals(keyprefDisableBuiltInAEC) | 192 || key.equals(keyprefDisableBuiltInAEC) |
| 193 || key.equals(keyprefDisableBuiltInAGC) |
| 194 || key.equals(keyprefDisableBuiltInNS) |
193 || key.equals(keyPrefDisplayHud)) { | 195 || key.equals(keyPrefDisplayHud)) { |
194 updateSummaryB(sharedPreferences, key); | 196 updateSummaryB(sharedPreferences, key); |
195 } | 197 } |
196 if (key.equals(keyprefStartVideoBitrateType)) { | 198 if (key.equals(keyprefStartVideoBitrateType)) { |
197 setVideoBitrateEnable(sharedPreferences); | 199 setVideoBitrateEnable(sharedPreferences); |
198 } | 200 } |
199 if (key.equals(keyprefStartAudioBitrateType)) { | 201 if (key.equals(keyprefStartAudioBitrateType)) { |
200 setAudioBitrateEnable(sharedPreferences); | 202 setAudioBitrateEnable(sharedPreferences); |
201 } | 203 } |
202 } | 204 } |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 String bitrateTypeDefault = getString(R.string.pref_startaudiobitrate_defaul
t); | 241 String bitrateTypeDefault = getString(R.string.pref_startaudiobitrate_defaul
t); |
240 String bitrateType = sharedPreferences.getString( | 242 String bitrateType = sharedPreferences.getString( |
241 keyprefStartAudioBitrateType, bitrateTypeDefault); | 243 keyprefStartAudioBitrateType, bitrateTypeDefault); |
242 if (bitrateType.equals(bitrateTypeDefault)) { | 244 if (bitrateType.equals(bitrateTypeDefault)) { |
243 bitratePreferenceValue.setEnabled(false); | 245 bitratePreferenceValue.setEnabled(false); |
244 } else { | 246 } else { |
245 bitratePreferenceValue.setEnabled(true); | 247 bitratePreferenceValue.setEnabled(true); |
246 } | 248 } |
247 } | 249 } |
248 } | 250 } |
OLD | NEW |