Forked from
Dhina17 / platform_frameworks_base
Almaz Mingaleev
authored
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: I80868217e02862e8d0a568ea096e22e919ec06e3 Merged-In: I80868217e02862e8d0a568ea096e22e919ec06e3
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name | Last commit | Last update |
---|---|---|
.. | ||
Android.bp | ||
OWNERS | ||
README.md | ||
TEST_MAPPING | ||
boot-image-profile.txt | ||
boot-profile.txt | ||
copyright-header | ||
dirty-image-objects | ||
preloaded-classes | ||
preloaded-classes-denylist |