Skip to content
Snippets Groups Projects
Commit 8ff96805 authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka Committed by Android (Google) Code Review
Browse files

Merge "Eliminate compiler warning" into gingerbread

parents eebe37e8 e7cfc8ab
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment