diff options
author | Hai Zhang <zhanghai@google.com> | 2020-05-19 22:00:18 -0700 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2020-05-20 12:08:41 -0700 |
commit | cf2ee87fd43aaacd8e952fc9bc116fd27f2d8eb7 (patch) | |
tree | 059a5d85c1ca664cede60237723ffcc5717c090c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 25adf3c4718092df863d3173c5066f705a04ce49 (diff) |
Maintain compatibility by deleting target directory before renaming into it.
The target shouldn't be a directory, but if it is, it would be
deleted (as long as it's empty). This became some kind of API and we
need to remain compatible with it.
Bug: 151959443
Test: Reboot and ensure ShortcutService can persist its state
Change-Id: I11a80cd4252128b025912b7aab86b113935e549a
Merged-In: I11a80cd4252128b025912b7aab86b113935e549a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions