From 565106fc1f840cb681905e6add8a44dce40dc984 Mon Sep 17 00:00:00 2001 From: Norman Breau Date: Tue, 11 Aug 2020 10:13:33 -0300 Subject: [PATCH] refactor: Stop suppressing un-needed TruelyRandom lints (#1046) --- framework/src/org/apache/cordova/CordovaBridge.java | 1 - 1 file changed, 1 deletion(-) diff --git a/framework/src/org/apache/cordova/CordovaBridge.java b/framework/src/org/apache/cordova/CordovaBridge.java index 7416cd1932..a8e8369232 100644 --- a/framework/src/org/apache/cordova/CordovaBridge.java +++ b/framework/src/org/apache/cordova/CordovaBridge.java @@ -114,7 +114,6 @@ public boolean isSecretEstablished() { /** 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);