Skip to content
Commit f740b56f authored by Takashi Nagaya's avatar Takashi Nagaya Committed by Koji Fukui
Browse files

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
parent 539dbe61
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment