mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Merge pull request #3248 from nextcloud/disableRNGwarning
disable lint warning on not secure RNG on < 4.3
This commit is contained in:
commit
bef25b7bc0
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,8 @@
|
|||
*/
|
||||
package com.owncloud.android.utils;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
import java.math.BigInteger;
|
||||
import java.security.SecureRandom;
|
||||
|
@ -34,6 +36,7 @@ public class DataHolderUtil {
|
|||
|
||||
private static DataHolderUtil instance;
|
||||
|
||||
@SuppressLint("TrulyRandom")
|
||||
private SecureRandom random = new SecureRandom();
|
||||
|
||||
public static synchronized DataHolderUtil getInstance() {
|
||||
|
|
Loading…
Reference in a new issue