Introduce BluetoothAudioBitsPerSamplePrefCtrl

- Create new BluetoothAudioBitsPerSamplePreferenceController
 - Create controller inside the DashboardFragment
 - Port logic from DevelopmentSettings into the controller

Bug: 34203528
Test: make RunSettingsRoboTests -j40
Change-Id: I86575d171a005f62f731d9001f08ddcf976ad826
This commit is contained in:
jeffreyhuang
2017-10-13 13:43:21 -07:00
parent 0ef326f365
commit 483dc97998
4 changed files with 220 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ public class BluetoothCodecConfig {
public static final int CODEC_PRIORITY_HIGHEST = 1000 * 1000;
public static final int BITS_PER_SAMPLE_NONE = 0;
public static final int CHANNEL_MODE_NONE = 0;
public static final int BITS_PER_SAMPLE_24 = 0x1 << 1;
public int getSampleRate() {
return 0;
@@ -37,4 +38,8 @@ public class BluetoothCodecConfig {
public int getCodecType() {
return 0;
}
public int getBitsPerSample() {
return 0;
}
}