diff --git a/res/drawable/ic_local_phone_24_lib.xml b/res/drawable/ic_local_phone_24_lib.xml new file mode 100644 index 00000000000..45748028d22 --- /dev/null +++ b/res/drawable/ic_local_phone_24_lib.xml @@ -0,0 +1,28 @@ + + + + + + diff --git a/res/layout/preference_volume_slider.xml b/res/layout/preference_volume_slider.xml index 89ecec02c5b..5e5d595108a 100644 --- a/res/layout/preference_volume_slider.xml +++ b/res/layout/preference_volume_slider.xml @@ -45,8 +45,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" - android:layout_marginTop="8dip" - android:layout_marginBottom="8dip"> + android:layout_marginTop="16dip" + android:layout_marginBottom="16dip"> true + + true + true diff --git a/res/xml/sound_settings.xml b/res/xml/sound_settings.xml index 15fbcc84d41..61f529ff33d 100644 --- a/res/xml/sound_settings.xml +++ b/res/xml/sound_settings.xml @@ -38,12 +38,29 @@ android:order="-175" settings:controller="com.android.settings.sound.MediaOutputPreferenceController"/> + + + + + + @@ -51,15 +68,7 @@ - - - + android:order="-155"/> mDeviceCallbacks = new ArrayList(); @Implementation @@ -104,4 +105,11 @@ public class ShadowAudioManager extends org.robolectric.shadows.ShadowAudioManag public void reset() { mDeviceCallbacks.clear(); } + + public void setBluetoothScoOn(boolean bluetoothScoOn) { + mBluetoothScoOn = bluetoothScoOn; + } + + @Implementation + public boolean isBluetoothScoOn() { return mBluetoothScoOn; } }