summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-09-20 18:54:46 -0600
committerJeff Sharkey <jsharkey@google.com>2016-09-21 23:01:25 +0000
commit2c89a4c170d05d82b81b7eba6b829aeb10aaa665 (patch)
tree7ac5884b228fbfb3fc93083435b132b557d3d66d /tools/aapt2/diff/Diff.cpp
parentba0ee69a15a6207858a72f5fe8ba86953b16641e (diff)
Rename should behave like create: avoid conflict.
When we create a file that already exists, we try attaching a suffix like "(1)" to the filename to avoid the conflict. The newly added rename method should do the same, since developers may not have access to delete the conflicting file. Test: boots, rename via UI, new unit tests Bug: 31545404 Change-Id: Ie397eebb0fbf98cf079eee3bbbb6c6b7ca627d91
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions