From 9cc2c94c8b4bfd4e00e5d3478b9f6e520e791bc5 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 2 Apr 2012 21:31:52 +0900 Subject: Remove InputMethodSubtypeCompatWrapper Bug: 6129704 Change-Id: I8f84f0f61a2205ac1fcd1cd40e3a586ee535282d --- java/src/com/android/inputmethod/compat/CompatUtils.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'java/src/com/android/inputmethod/compat/CompatUtils.java') diff --git a/java/src/com/android/inputmethod/compat/CompatUtils.java b/java/src/com/android/inputmethod/compat/CompatUtils.java index f1f6a1220..ce427e9c9 100644 --- a/java/src/com/android/inputmethod/compat/CompatUtils.java +++ b/java/src/com/android/inputmethod/compat/CompatUtils.java @@ -23,8 +23,6 @@ import android.util.Log; import java.lang.reflect.Constructor; import java.lang.reflect.Field; import java.lang.reflect.Method; -import java.util.ArrayList; -import java.util.List; public class CompatUtils { private static final String TAG = CompatUtils.class.getSimpleName(); @@ -131,15 +129,4 @@ public class CompatUtils { Log.e(TAG, "Exception in setFieldValue: " + e.getClass().getSimpleName()); } } - - public static List copyInputMethodSubtypeListToWrapper( - Object listObject) { - if (!(listObject instanceof List)) return null; - final List subtypes = - new ArrayList(); - for (Object o: (List)listObject) { - subtypes.add(new InputMethodSubtypeCompatWrapper(o)); - } - return subtypes; - } } -- cgit v1.2.3-83-g751a