am a62a022e: Merge "Remove unused local variable"

* commit 'a62a022ea710377359312ceeb77f146d80a00401':
  Remove unused local variable
This commit is contained in:
Tadashi G. Takaoka 2011-10-04 01:53:54 -07:00 committed by Android Git Automerger
commit 30d24d8d40

View file

@ -618,8 +618,6 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
final TypedArray a = mResources.obtainAttributes(Xml.asAttributeSet(parser), final TypedArray a = mResources.obtainAttributes(Xml.asAttributeSet(parser),
R.styleable.Keyboard_Case); R.styleable.Keyboard_Case);
final TypedArray viewAttr = mResources.obtainAttributes(Xml.asAttributeSet(parser),
R.styleable.KeyboardView);
try { try {
final boolean modeMatched = matchTypedValue(a, final boolean modeMatched = matchTypedValue(a,
R.styleable.Keyboard_Case_mode, id.mMode, KeyboardId.modeName(id.mMode)); R.styleable.Keyboard_Case_mode, id.mMode, KeyboardId.modeName(id.mMode));
@ -676,7 +674,6 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
return selected; return selected;
} finally { } finally {
a.recycle(); a.recycle();
viewAttr.recycle();
} }
} }