Skip to content

Commit

Permalink
Release 11.0.3: Fix regression with IV_KEY and KEY not being defined
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaschum committed Oct 19, 2017
1 parent 9bc8d12 commit f7fc3a8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
17 changes: 7 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,13 @@ ext {
// there are issues with your theme (DEFAULT: false)
SUPPORTS_THIRD_PARTY_SYSTEMS = false

// Guard this behind an if statement so we don't have to take a long time for decrypted themes!
if (SHOULD_ENCRYPT_ASSETS) {
// Encryption values, do not touch as we generate a random key every time you compile!
byte[] key = new byte[16]
new Random().nextBytes(key)
KEY = key
byte[] iv = new byte[16]
new Random().nextBytes(iv)
IV_KEY = iv
}
// Encryption values, do not touch as we generate a random key every time you compile!
byte[] key = new byte[16]
new Random().nextBytes(key)
KEY = key
byte[] iv = new byte[16]
new Random().nextBytes(iv)
IV_KEY = iv
}

android {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<!-- SUBSTRATUM INTERNAL USE: DO NOT TOUCH -->
<meta-data
android:name="Substratum_Plugin"
android:value="11.0.2"/>
android:value="11.0.3"/>
<meta-data
android:name="Substratum_Encryption"
android:value="@string/encryption_status"/>
Expand Down

0 comments on commit f7fc3a8

Please sign in to comment.