refactor: Stop suppressing un-needed TruelyRandom lints (#1046)

This commit is contained in:
Norman Breau
2020-08-11 10:13:33 -03:00
committed by GitHub
parent a45217e6b9
commit 565106fc1f

View File

@@ -114,7 +114,6 @@ public class CordovaBridge {
/** Called by cordova.js to initialize the bridge. */
//On old Androids SecureRandom isn't really secure, this is the least of your problems if
//you're running Android 4.3 and below in 2017
@SuppressLint("TrulyRandom")
int generateBridgeSecret() {
SecureRandom randGen = new SecureRandom();
expectedBridgeSecret = randGen.nextInt(Integer.MAX_VALUE);