commit | 0add19f81e55745f659fe02fd33238d4db688c60 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed Jan 18 00:06:59 2023 +0800 |
committer | TreeHugger Robot <treehugger-gerrit@google.com> | Wed Jan 18 23:08:41 2023 +0000 |
tree | f2a16f3e24c54689e453fdf8d58849a9c4dec013 | |
parent | 73f7e93e46d4d02ab8eb52fd09197282cc56bc50 [diff] |
Restorecon in two phases when creating files and dirs for artifacts. Suggested by alanstokes@ in aosp/2388476. The reason for each phase is stated in the comments. Bug: 262230400 Test: - 1. Remove the "oat" directory of an app. 2. Dexopt the app using ART Service. 3. See no SELinux denials. Ignore-AOSP-First: ART Services. Change-Id: Id2b894cecbbf4ad7658339387c6e067b20536eaa