Fix crash in settings when device has built-in echo canceller.
This commit is contained in:
parent
cde0242f50
commit
0832c6659c
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public class PreferencesFragment extends PreferencesListFragment implements EcCa
|
||||||
}
|
}
|
||||||
if (Hacks.hasBuiltInEchoCanceller()) {
|
if (Hacks.hasBuiltInEchoCanceller()) {
|
||||||
uncheckDisableAndHideCheckbox(R.string.pref_echo_cancellation_key);
|
uncheckDisableAndHideCheckbox(R.string.pref_echo_cancellation_key);
|
||||||
uncheckDisableAndHideCheckbox(R.string.pref_echo_canceller_calibration_key);
|
findPreference(R.string.pref_echo_canceller_calibration_key).setLayoutResource(R.layout.hidden);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue