Loading android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/BluetoothKeystoreService.java +2 −1 Original line number Diff line number Diff line Loading @@ -797,7 +797,8 @@ public class BluetoothKeystoreService { return keyStore; } private SecretKey getOrCreateSecretKey() { // The getOrGenerate semantic on keystore is not thread safe, need to synchronized it. private synchronized SecretKey getOrCreateSecretKey() { SecretKey secretKey = null; try { KeyStore keyStore = getKeyStore(); Loading Loading
android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/BluetoothKeystoreService.java +2 −1 Original line number Diff line number Diff line Loading @@ -797,7 +797,8 @@ public class BluetoothKeystoreService { return keyStore; } private SecretKey getOrCreateSecretKey() { // The getOrGenerate semantic on keystore is not thread safe, need to synchronized it. private synchronized SecretKey getOrCreateSecretKey() { SecretKey secretKey = null; try { KeyStore keyStore = getKeyStore(); Loading