Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: webrtc/examples/androidapp/src/org/appspot/apprtc/SettingsActivity.java

Issue 2184223003: Fix an UI bug in AppRTC Demo where disable hardware AGC/NS summary was not getting updated. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698