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

Commit 898c3aa6 authored by Priyanka Advani's avatar Priyanka Advani Committed by Android (Google) Code Review
Browse files

Merge "Revert "Moving hardware layer to the parent of brightness slider"" into main

parents 850027f9 2f03804e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -75,10 +75,6 @@ public class QSContainerImpl extends FrameLayout implements Dumpable {
    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();
        // set layer to make alpha animation of brightness slider nicer - otherwise elements
        // of slider are animated separately and it doesn't look good. See b/329244723
        setLayerType(LAYER_TYPE_HARDWARE, null);

        mQSPanelContainer = findViewById(R.id.expanded_qs_scroll_view);
        mQSPanel = findViewById(R.id.quick_settings_panel);
        mHeader = findViewById(R.id.header);
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ public class BrightnessSliderView extends FrameLayout {
    @Override
    protected void onFinishInflate() {
        super.onFinishInflate();
        setLayerType(LAYER_TYPE_HARDWARE, null);

        mSlider = requireViewById(R.id.slider);
        mSlider.setAccessibilityLabel(getContentDescription().toString());