From ee91bde16c34af80201efb5f8d056caecbbbf338 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Thu, 21 Mar 2013 12:27:33 +0900 Subject: [PATCH] Clean up InflateException reference from KeyboardBuilder Change-Id: If9daa00b6d829ce2069a027e4bfec310ec108615 --- .../android/inputmethod/keyboard/internal/KeyboardBuilder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java index ab851bd64..8ae1b8881 100644 --- a/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java +++ b/java/src/com/android/inputmethod/keyboard/internal/KeyboardBuilder.java @@ -24,7 +24,6 @@ import android.util.AttributeSet; import android.util.Log; import android.util.TypedValue; import android.util.Xml; -import android.view.InflateException; import com.android.inputmethod.annotations.UsedForTesting; import com.android.inputmethod.keyboard.Key; @@ -750,7 +749,7 @@ public class KeyboardBuilder { private void endRow(final KeyboardRow row) { if (mCurrentRow == null) { - throw new InflateException("orphan end row tag"); + throw new RuntimeException("orphan end row tag"); } if (mRightEdgeKey != null) { mRightEdgeKey.markAsRightEdge(mParams);