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

Commit 0193e695 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix ANR issue caused by sharedpref commit() on suggestion event logging" into oc-mr1-dev

parents 6fe50e72 2aab1177
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class EventStore {
    }

    private void writePref(String prefKey, long value) {
        mSharedPrefs.edit().putLong(prefKey, value).commit();
        mSharedPrefs.edit().putLong(prefKey, value).apply();
    }

    private long readPref(String prefKey, Long defaultValue) {