summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2022-10-20 10:28:08 -0700
committer Siarhei Vishniakou <svv@google.com> 2022-10-25 10:46:01 -0700
commit63740b961ea0aceb7153c374f9761c44506e6b1a (patch)
tree5f37425ce1fe690ceeff916c4b55156246419569 /libs/gui/BufferQueueThreadState.cpp
parent6eafa9dd67010f05288c6e40881939f4cf01dcd5 (diff)
Use getrandom for device input event ID generation
On device, let's go back to using 'getrandom' for the generation of random input event ids. This should be faster than reading from /dev/urandom. This is a partial revert of the previous patch. After this patch, we will only use '/dev/urandom' on host. We may be able to switch to 'getrandom' for both if we ever switch to musl for host. We can revisit it then. Bug: 254215895 Test: m && atest --host libinput_tests Change-Id: Idc6241facbd93f3f71ae90567db831d96a5fc98b
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions