am 6c1c546a: Merge "Fix referring wrong TypedArray"

* commit '6c1c546a98d45c202b549c0710d75680214635b0':
  Fix referring wrong TypedArray
main
Tadashi G. Takaoka 2011-11-04 10:48:39 +00:00 committed by Android Git Automerger
commit c30ea0910e
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
keyboardAttr.recycle(); keyboardAttr.recycle();
TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser), TypedArray keyAttr = res.obtainAttributes(Xml.asAttributeSet(parser),
R.styleable.Keyboard_Key); R.styleable.Keyboard_Key);
mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyboardAttr, mDefaultKeyWidth = KeyboardBuilder.getDimensionOrFraction(keyAttr,
R.styleable.Keyboard_Key_keyWidth, params.mBaseWidth, params.mDefaultKeyWidth); R.styleable.Keyboard_Key_keyWidth, params.mBaseWidth, params.mDefaultKeyWidth);
keyAttr.recycle(); keyAttr.recycle();