Skip to content

Commit 9243d6b

Browse files
committed
Move to external PRNGFixes
1 parent c397ac1 commit 9243d6b

File tree

4 files changed

+4
-339
lines changed

4 files changed

+4
-339
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ buildscript {
2222
allprojects {
2323
repositories {
2424
jcenter()
25+
maven { url "https://jitpack.io" }
2526
}
2627
}
2728

securepreferences/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ android {
3434

3535
dependencies {
3636
compile fileTree(dir: 'libs', include: ['*.jar'])
37+
compile 'com.github.adstro:prng-fixes:2016.11.13'
3738
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
3839
exclude group: 'com.android.support', module: 'support-annotations'
3940
})

securepreferences/src/main/java/com/google/PRNGFixes.java

Lines changed: 0 additions & 337 deletions
This file was deleted.

securepreferences/src/main/java/me/adamstroud/securepreferences/SecurePreferences.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424
import android.util.ArraySet;
2525
import android.util.Base64;
2626

27-
import com.google.PRNGFixes;
28-
2927
import java.io.IOException;
3028
import java.math.BigInteger;
3129
import java.nio.ByteBuffer;
@@ -52,6 +50,8 @@
5250
import javax.crypto.NoSuchPaddingException;
5351
import javax.security.auth.x500.X500Principal;
5452

53+
import me.adamstroud.prngfixes.PRNGFixes;
54+
5555
/**
5656
* TODO
5757
*

0 commit comments

Comments
 (0)