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

Commit 2fe9a43a authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Remove unused XML attribute"

parents b29b2258 79dc056d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.inputmethod.keyboard;

import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
@@ -38,7 +37,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
    private final int[] mCoordinates = new int[2];

    private final KeyDetector mKeyDetector;
    private final int mVerticalCorrection;

    private Controller mController;
    private KeyboardActionListener mListener;
@@ -135,12 +133,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
    public MiniKeyboardView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);

        final TypedArray a = context.obtainStyledAttributes(
                attrs, R.styleable.KeyboardView, defStyle, R.style.KeyboardView);
        mVerticalCorrection = a.getDimensionPixelOffset(
                R.styleable.KeyboardView_verticalCorrection, 0);
        a.recycle();

        final Resources res = context.getResources();
        // Override default ProximityKeyDetector.
        mKeyDetector = new MiniKeyboardKeyDetector(res.getDimension(