Introduce BluetoothAudioChannelModePreferenceCtrl
- Create new BluetoothAudioChannelModePreferenceController - Create controller inside the DashboardFragment - Port logic from DevelopmentSettings into the controller Bug: 34203528 Test: make RunSettingsRoboTests -j40 Change-Id: I4abe87dd70be83c8b3cf2a3ad43b8856a01eadbb
This commit is contained in:
@@ -30,6 +30,7 @@ public class BluetoothCodecConfig {
|
||||
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 static final int CHANNEL_MODE_STEREO = 0x1 << 1;
|
||||
|
||||
public int getSampleRate() {
|
||||
return 0;
|
||||
@@ -42,4 +43,8 @@ public class BluetoothCodecConfig {
|
||||
public int getBitsPerSample() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getChannelMode() {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user