Remove the volume slider in SystemUI.
Bug: 3344667 Change-Id: I8701fadac1736c73fbecb6f50d2ced7bba2c559c
This commit is contained in:
@@ -120,24 +120,6 @@
|
||||
</LinearLayout>
|
||||
<View style="@style/StatusBarPanelSettingsPanelSeparator" />
|
||||
|
||||
<!-- Volume -->
|
||||
<LinearLayout style="@style/StatusBarPanelSettingsRow" >
|
||||
<ImageView
|
||||
android:id="@+id/volume_icon"
|
||||
style="@style/StatusBarPanelSettingsIcon"
|
||||
android:src="@drawable/ic_sysbar_sound_on"
|
||||
/>
|
||||
<com.android.systemui.statusbar.policy.ToggleSlider
|
||||
android:id="@+id/volume"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:layout_marginRight="2dp"
|
||||
systemui:text="@string/status_bar_settings_mute_label"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<View style="@style/StatusBarPanelSettingsPanelSeparator" />
|
||||
|
||||
<!-- Notifications / Do not disturb -->
|
||||
<LinearLayout
|
||||
android:id="@+id/do_not_disturb"
|
||||
|
||||
@@ -41,7 +41,6 @@ public class SettingsView extends LinearLayout implements View.OnClickListener {
|
||||
|
||||
AirplaneModeController mAirplane;
|
||||
AutoRotateController mRotate;
|
||||
VolumeController mVolume;
|
||||
BrightnessController mBrightness;
|
||||
DoNotDisturbController mDoNotDisturb;
|
||||
|
||||
@@ -64,8 +63,6 @@ public class SettingsView extends LinearLayout implements View.OnClickListener {
|
||||
findViewById(R.id.network).setOnClickListener(this);
|
||||
mRotate = new AutoRotateController(context,
|
||||
(CompoundButton)findViewById(R.id.rotate_checkbox));
|
||||
mVolume = new VolumeController(context,
|
||||
(ToggleSlider)findViewById(R.id.volume));
|
||||
mBrightness = new BrightnessController(context,
|
||||
(ToggleSlider)findViewById(R.id.brightness));
|
||||
mDoNotDisturb = new DoNotDisturbController(context,
|
||||
|
||||
Reference in New Issue
Block a user