diff --git a/src/com/android/settings/search/Index.java b/src/com/android/settings/search/Index.java index fd67ea63c7a..976c6fb7e57 100644 --- a/src/com/android/settings/search/Index.java +++ b/src/com/android/settings/search/Index.java @@ -1165,17 +1165,6 @@ public class Index { return result.toString(); } - private int getResId(Context context, AttributeSet set, int[] attrs, int resId) { - final TypedArray sa = context.obtainStyledAttributes(set, attrs); - final TypedValue tv = sa.peekValue(resId); - - if (tv != null && tv.type == TypedValue.TYPE_STRING) { - return tv.resourceId; - } else { - return 0; - } - } - /** * A private class for updating the Index database */