Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19f1de55 authored by Adnan Begovic's avatar Adnan Begovic
Browse files

SystemUI: Hide secondary icon and divider on expanded panel.

Change-Id: I9f8a939f9bfcee22e6838dcbbeb6026bcc8146e2
parent 29bd7f62
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -808,7 +808,9 @@ public class VolumePanel extends Handler implements DemoMode {
                    mSliderPanel.addView(control.group);
                    control.group.setVisibility(View.VISIBLE);
                    control.expandPanel.setVisibility(View.GONE);
                    updateSlider(control, true);
                    control.secondaryIcon.setVisibility(View.GONE);
                    control.divider.setVisibility(View.GONE);
                    updateSlider(control, false);
                }
            }
        }
@@ -823,7 +825,9 @@ public class VolumePanel extends Handler implements DemoMode {
                if (control != null && control.streamType != mActiveStreamType) {
                    control.group.setVisibility(View.GONE);
                    control.expandPanel.setVisibility(View.GONE);
                    updateSlider(control, true);
                    control.secondaryIcon.setVisibility(View.GONE);
                    control.divider.setVisibility(View.GONE);
                    updateSlider(control, false);
                }
            }
        }