commit | 2370dff7ee3bcffc0bf36dd5f3b6ed4f41bc8e80 | [log] [tgz] |
---|---|---|
author | Paul Crowley <paulcrowley@google.com> | Wed Dec 21 12:44:18 2022 -0800 |
committer | Paul Crowley <paulcrowley@google.com> | Wed Dec 21 16:22:23 2022 -0800 |
tree | 1aaa5cb1af5b125c15d9265009a9f1ec59e183b7 | |
parent | f8e243e62f40ad272e99a745a1ea2a4ca09cc7cf [diff] |
Create SecureRandomUtils with static SecureRandom No need for the cost and complexity of creating an new RNG every time we need randomness, just set up a single static one. Use the same one in LockSettingsService and SyntheticPasswordManager. Bug: 258560859 Test: atest LockSettingsServiceTests SyntheticPasswordTests Change-Id: I2025f24c4710c246f661a6329a688c928ce2377d