summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Jason Macnak <natsu@google.com> 2021-07-16 13:57:41 -0700
committer Alistair Delva <adelva@google.com> 2021-07-22 16:16:46 +0000
commit56973c4a0e03b2e44e5af255326bca3097ba010b (patch)
tree76f2ce7aaa767b792a95f9a4a979c4534e27ddbf /libs/gui/ISurfaceComposer.cpp
parent149cebdeeba6a1a74819a99fec42b6d15d1dd745 (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/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions