commit | f740b56f0e6896367be1cf70d63ef3ff291300fa | [log] [tgz] |
---|---|---|
author | Takashi Nagaya <Takashi.X.Nagaya@sony.com> | Mon Dec 28 14:33:23 2020 +0900 |
committer | Koji Fukui <Koji.Fukui@sony.com> | Thu Jan 14 20:57:09 2021 +0900 |
tree | 50921a6c1270b46287bcc0ac41ac06cf8935c2d5 | |
parent | 539dbe61c57234512ced37daa5a284009ade50f6 [diff] |
Fixed to prevent usagestats file corruption when writing Currently, usagestats file may be currupted when writing fails. Because AtomicFile#failWrite(fos) is always called with argument null. Modify argument of this method so that it is not null when writing fails. Bug: 177501256 Change-Id: I1bb64a9af7941ab80abe3f98ad5b8ecf6d1b46d6