summaryrefslogtreecommitdiff
path: root/libnativebridge/tests/NativeBridgeTest.h
diff options
context:
space:
mode:
author Almaz Mingaleev <mingaleev@google.com> 2022-06-09 14:30:22 +0100
committer Almaz Mingaleev <mingaleev@google.com> 2022-06-10 16:34:06 +0000
commitce0e1b0b96b24678c6ce7b45a445d428848067bb (patch)
treecf165e4e9dd576fa0f2027e5e05d942fb22c4293 /libnativebridge/tests/NativeBridgeTest.h
parente631de122b065b014927c08df45258dffca27211 (diff)
Do not preload ThreadLocalRandom class.
ThreadLocalRandom.seeder field uses time in its initialization. Preloading the class fixes initial state of ThreadLocalRandom, which leads to the same sequence of generated numbers across different app runs. Bug: 234816154 Test: verified manually that TLR.current().nextInt does not return the same sequence of numbers. Change-Id: I879b7a801e870826341edd3f5f2b067182804765 Merged-In: I879b7a801e870826341edd3f5f2b067182804765
Diffstat (limited to 'libnativebridge/tests/NativeBridgeTest.h')
0 files changed, 0 insertions, 0 deletions