commit | a61859210844849e97a479bcfa74d1a62f51f819 | [log] [tgz] |
---|---|---|
author | Vladimir Marko <[email protected]> | Fri Apr 23 16:31:26 2021 +0000 |
committer | Vladimir Marko <[email protected]> | Mon Apr 26 07:26:17 2021 +0000 |
tree | 42b383d479b8d14d64b3d6e42053b79202e9eafd | |
parent | fe1c7b4a5bc83f47844c969c38aeb4288723b171 [diff] |
Fix profile magic detection. Do not rely on the file descriptor being initialized with offset 0. Fix a test that this change exposes as passing wrong arguments and non-zero file offset. Clean up tests to avoid the ResetOffset() call that's now unnecessary. Test: m test-art-host-gtest Bug: 148067697 Change-Id: I2a3a07712640f35766ef3b449cd02910e4438cba