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

Commit 82324ec6 authored by Jae Seo's avatar Jae Seo Committed by Android (Google) Code Review
Browse files

Merge "TIF: fix IOException at PersistentDataStore.save()" into lmp-dev

parents e8deca1a 7ed8901f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -81,8 +81,9 @@ final class PersistentDataStore {

    public PersistentDataStore(Context context, int userId) {
        mContext = context;
        mAtomicFile = new AtomicFile(new File("/data/system/tv/" + userId
                + "/tv-input-manager-state.xml"));
        File tvDir = new File("/data/system/tv/" + userId);
        tvDir.mkdirs();
        mAtomicFile = new AtomicFile(new File(tvDir, "tv-input-manager-state.xml"));
    }

    public boolean isParentalControlsEnabled() {