commit | adeb6fa9e4b5057548a0439928ff0d3a138fb6c6 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Fri May 26 09:11:06 2023 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Tue May 30 14:27:25 2023 +0000 |
tree | a0f7c4f84eb4e70ff26cd546525826e5d9b5623f | |
parent | 34ad3a3a09dce56d60fb30f93c11e84e48ea2913 [diff] |
Move some definitions into anonymous namespaces To prevent ODR violations, move some of the definitions into anonymous namespaces. Specifically, this solves the issue of multiple definitions for FakeWindowHandle, which was triggering the leak sanitizer check when 'sanitize: address' was set to true. Bug: 284203306 Test: m inputflinger_tests && $ANDROID_HOST_OUT/nativetest64/inputflinger_tests/inputflinger_tests Change-Id: I106b2b547cf465df15e317a9b7478dcc77467a46