commit | cbcff7405526456f64e4140bb7576de2c3a54f72 | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Mon May 06 20:25:16 2024 -0700 |
committer | Ryan Prichard <rprichard@google.com> | Mon May 06 20:25:16 2024 -0700 |
tree | 93d2bea709aad7a2783b49a589368b1c66f0695f | |
parent | 8b70a2c62d33babd03848326e86a1cc719fa00ea [diff] |
aapt2: fix dangling reference to diag The lambdas that ManifestFixer::BuildRules attach to XmlActionExecutor outlive ManifestFixer::BuildRules, so they need to capture diag by-value instead of by-reference. Bug: 339119172 Test: aapt2_tests Change-Id: I6b9b6a8733875247a5be12111413b45b99727e1f