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

Commit 5395e8ad authored by Kenny Guy's avatar Kenny Guy Committed by Android (Google) Code Review
Browse files

Merge "Flush and sync before calling JournaledFile.commit"

parents 3fed946a a526a1e7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1135,6 +1135,8 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
            out.endTag(null, "wp");

            out.endDocument();
            stream.flush();
            FileUtils.sync(stream);
            stream.close();
            journal.commit();
        } catch (IOException e) {