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

Commit 609b96c7 authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Android (Google) Code Review
Browse files

Merge "Revert "Revert "Revert "Moving hardware layer to the parent of b..."" into main

parents e2cd549e 0633d9c8
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());