am 48ef72ac: am 8ff96805: Merge "Eliminate compiler warning" into gingerbread
Merge commit '48ef72acef92bb774bad84d647427eaab0acc83b' * commit '48ef72acef92bb774bad84d647427eaab0acc83b': Eliminate compiler warningmain
commit
e909d4f12e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue