Apply new preference and controller for Bluetooth developer option

- Modify XML to apply new preferences and controllers
- Remove old controller file
- Move codec optional codec to the uppler layer

Bug: 142227996
Test: make -j50 RunSettingsRoboTests
Change-Id: Ia8fca4bc5b228592fdacad206e010bf0219282d4
This commit is contained in:
timhypeng
2019-12-11 13:59:59 +08:00
parent 8b6da6a5b1
commit 548e927ed9
14 changed files with 74 additions and 1168 deletions

View File

@@ -106,7 +106,7 @@ public class BluetoothQualityDialogPreferenceController extends
@Override
public void onHDAudioEnabled(boolean enabled) {
mPreference.setEnabled(false);
};
}
@VisibleForTesting
int convertCfgToBtnIndex(int config) {