Merge "Eliminate compiler warning" into gingerbread
This commit is contained in:
commit
8ff9680522
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue