summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24/changes
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2017-03-02 19:26:44 +0000
committerNarayan Kamath <narayan@google.com>2017-03-08 10:07:03 +0000
commitb192344234dcee215462e6218cf1c4384b9916f1 (patch)
tree990982dd7557155e89e2ffb7fc0b0472f7927cab /docs/html/sdk/api_diff/24/changes
parent07be4d67813bdda4479e0e5a482f76b3f52160e7 (diff)
MathUtils: Remove static Random field.
This is unsafe because the random will be seeded in the zygote, which means all processes on the system generate the same sequence of random numbers. Fortunately, this code is only used in tests, so get rid of it. Note that the Random that backs Math.random() is reseeded after every fork to avoid a similar issue. Bug: 35918685 Test: HwAccelerationTest Change-Id: Ice79aa25bb9017f7a0b91659afe04112850cb74b
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions