summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHai Zhang <zhanghai@google.com>2020-05-19 20:28:43 -0700
committerHai Zhang <zhanghai@google.com>2020-05-19 20:35:51 -0700
commit25adf3c4718092df863d3173c5066f705a04ce49 (patch)
tree08584abd1cd048b2da2d4c4f2293154bd4839897 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4acc0902c6d6ad1aac3834b2a14ae421ee8d8f81 (diff)
Don't delete the new file in openRead().
Although it may seems a left-over from a previous interrupted write, actually there are callers who call startWrite(), openRead() and then finishWrite(), and this was okay in the previous implementation, so we have to keep supporting it. The new file is virtually ignored in the new implementation, and we have no good way to know if it's actually a left-over or one that's being written, so simply leaving it there is also okay. Fixes: 157092639 Test: atest AppIdleHistoryTests#testFilesCreation Change-Id: I4dc7fde99d2b8e04356f082a6e6ad61c2835022e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions