Merge "Eliminate compiler warning" into gingerbread

This commit is contained in:
Tadashi G. Takaoka 2010-09-29 20:51:34 -07:00 committed by Android (Google) Code Review
commit 8ff9680522

View file

@ -30,8 +30,7 @@ public class SharedPreferencesCompat {
private static Method findApplyMethod() {
try {
Class cls = SharedPreferences.Editor.class;
return cls.getMethod("apply");
return SharedPreferences.Editor.class.getMethod("apply");
} catch (NoSuchMethodException unused) {
// fall through
}