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

Commit 708216ab authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Recycle obtained TypedArrays"

parents 42da3114 0ebfffb8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -217,6 +217,7 @@ public class Keyboard {
            rowEdgeFlags = a.getInt(com.android.internal.R.styleable.Keyboard_Row_rowEdgeFlags, 0);
            mode = a.getResourceId(com.android.internal.R.styleable.Keyboard_Row_keyboardMode,
                    0);
            a.recycle();
        }
    }

+2 −0
Original line number Diff line number Diff line
@@ -326,9 +326,11 @@ public class KeyboardView extends View implements View.OnClickListener {
            }
        }

        a.recycle();
        a = mContext.obtainStyledAttributes(
                com.android.internal.R.styleable.Theme);
        mBackgroundDimAmount = a.getFloat(android.R.styleable.Theme_backgroundDimAmount, 0.5f);
        a.recycle();

        mPreviewPopup = new PopupWindow(context);
        if (previewLayout != 0) {