Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7cfc8ab authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Eliminate compiler warning

Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
parent 2d6a0c68
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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
        }