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

Commit ac7869cb authored by p4r4n01d's avatar p4r4n01d
Browse files

SystemUI: Add missing recycle calls (fix lint warning)

Change-Id: Ic3462ceb8d85e4ec2aee833d4327c4b81f5eac5a
parent 193023ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ public class RecentsScrollViewPerformanceHelper {
        mFadingEdgeLength = a.getDimensionPixelSize(android.R.styleable.View_fadingEdgeLength,
                ViewConfiguration.get(context).getScaledFadingEdgeLength());
        mIsVertical = isVertical;
        a.recycle();
    }

    public void onAttachedToWindowCallback(
+1 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ public class QuickSettingsContainerView extends FrameLayout {
        super(context, attrs);
        TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.QuickSettingsContainer, 0, 0);
        mSingleRow = a.getBoolean(R.styleable.QuickSettingsContainer_singleRow, false);
        a.recycle();
        updateResources();
    }

+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@ public class DeadZone extends View {
                    + (mVertical ? " vertical" : " horizontal"));

        setFlashOnTouchCapture(context.getResources().getBoolean(R.bool.config_dead_zone_flash));

        a.recycle();
    }

    static float lerp(float a, float b, float f) {