am bd7b4fcc: am ee91bde1: Clean up InflateException reference from KeyboardBuilder
* commit 'bd7b4fcce0ddf5bca612bcf275e073ddfd49b205': Clean up InflateException reference from KeyboardBuildermain
commit
dbb90d08b5
|
@ -24,7 +24,6 @@ import android.util.AttributeSet;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.TypedValue;
|
import android.util.TypedValue;
|
||||||
import android.util.Xml;
|
import android.util.Xml;
|
||||||
import android.view.InflateException;
|
|
||||||
|
|
||||||
import com.android.inputmethod.annotations.UsedForTesting;
|
import com.android.inputmethod.annotations.UsedForTesting;
|
||||||
import com.android.inputmethod.keyboard.Key;
|
import com.android.inputmethod.keyboard.Key;
|
||||||
|
@ -750,7 +749,7 @@ public class KeyboardBuilder<KP extends KeyboardParams> {
|
||||||
|
|
||||||
private void endRow(final KeyboardRow row) {
|
private void endRow(final KeyboardRow row) {
|
||||||
if (mCurrentRow == null) {
|
if (mCurrentRow == null) {
|
||||||
throw new InflateException("orphan end row tag");
|
throw new RuntimeException("orphan end row tag");
|
||||||
}
|
}
|
||||||
if (mRightEdgeKey != null) {
|
if (mRightEdgeKey != null) {
|
||||||
mRightEdgeKey.markAsRightEdge(mParams);
|
mRightEdgeKey.markAsRightEdge(mParams);
|
||||||
|
|
Loading…
Reference in New Issue