mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove unused local variable
Change-Id: Ia71e03ee59153db1dbc35028569f7c76d5b12bf7
This commit is contained in:
parent
ab72a97d7c
commit
cf6d374505
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user