mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Eliminate compiler warning
Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
This commit is contained in:
parent
2d6a0c68c2
commit
e7cfc8ab88
@ -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
Block a user