summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2017-03-22 23:13:39 -0600
committerJeff Sharkey <jsharkey@android.com>2017-03-22 23:13:41 -0600
commit83aacdee407a14c15e5ac511b288df6bef1d63cb (patch)
tree85938112093c395a8dc659f2c2d8153908f6a17f /tools/aapt2/diff/Diff.cpp
parent20f0d091f72df85fa764b4d04f75e9d3bf42d537 (diff)
Update xattrs when creating cache directories.
Typically installd will create cache directories for an app, and store those inode numbers in the parent directory. However, when an app deletes and recreates a cache directory, the (now invalid) inode number is left floating around, and we could end up pointing at a useful non-cache directory. Fix this by updating the xattr when we create the cache directory out in userspace. Test: builds, boots Bug: 34185870 Change-Id: I71526dd73230c938aceabd2c0a8e89d44cc1f169
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions