summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Winson Chiu <chiuwinson@google.com> 2023-05-01 23:04:27 +0000
committer Winson Chiu <chiuwinson@google.com> 2023-05-01 23:04:49 +0000
commitdd7ffddb26b5e75ef0a0127ef04e3f0c185c08ca (patch)
tree1c98d38abdc3a1ad0f57c3071ae3cfa4d1d1800d /libs/androidfw/StringPool.cpp
parent45d3fa60f243a962a9307227a69fbcc6085ac540 (diff)
Attempt to unlink session file if hardlink fails
If either creating the link or changing the file permissions fails, the session should clean up the link so that a fallback manual copy can succeed. This can occur during APEX rollback. Bug: 274802935 Test: manual, follow steps in bug to test rollback mechanism Change-Id: Ic15bbe657a11a26b4bbcc48dca2f3e3a3f1239e2
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions