diff options
author | 2021-07-16 13:57:41 -0700 | |
---|---|---|
committer | 2021-07-21 10:42:10 -0700 | |
commit | 072d2a07eb6ca90864388c0c85bb8c8283fb1d38 (patch) | |
tree | 725085256750e0b95f1b133565daaf0c16b77624 /libs/binder/TextOutput.cpp | |
parent | 9f0e60e62fa4d8b163ead39768338c0a5507880c (diff) |
Make display unique id stable across x86 and x86_64 builds
... by using a minimal version of CityHash64 for the hash function.
std::hash differs between x86 and x86_64 and also:
"Hash functions are only required to produce the same result for the
same input within a single execution of a program;"
This is problematic for input device configuration files which
reference the display unique id.
Bug: b/186150820
Test: libsurfaceflinger_unittest
Change-Id: If15b66775fa48f14cc56bbd23536b61844b7ae37
Merged-In: If15b66775fa48f14cc56bbd23536b61844b7ae37
Diffstat (limited to 'libs/binder/TextOutput.cpp')
0 files changed, 0 insertions, 0 deletions