mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Eliminate compiler warning" into gingerbread
This commit is contained in:
commit
8ff9680522
@ -30,8 +30,7 @@ public class SharedPreferencesCompat {
|
|||||||
|
|
||||||
private static Method findApplyMethod() {
|
private static Method findApplyMethod() {
|
||||||
try {
|
try {
|
||||||
Class cls = SharedPreferences.Editor.class;
|
return SharedPreferences.Editor.class.getMethod("apply");
|
||||||
return cls.getMethod("apply");
|
|
||||||
} catch (NoSuchMethodException unused) {
|
} catch (NoSuchMethodException unused) {
|
||||||
// fall through
|
// fall through
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user