Integrate corrected char expressions into Liam code36
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
package com.gorios.lanvoice
|
||||
object BuildConfig { const val AVATAR_USER_ASSET_CANDIDATE=false }
|
||||
object BuildConfig { const val AVATAR_USER_ASSET_CANDIDATE=false;const val STARTUP_POSTER_RES_ID=1 }
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
package com.gorios.lanvoice
|
||||
object R { object drawable { const val startup_poster=1;const val startup_black_tulle_poster=2 } }
|
||||
object R { object drawable { const val startup_poster=1;const val startup_black_tulle_poster=2;const val startup_char_expressions_r02_poster=3 } }
|
||||
|
||||
@@ -28,6 +28,12 @@ fun startupCacheCheck() {
|
||||
} finally { worker.shutdownNow() }
|
||||
val userPin="208f703ed92bf795bfeb78a1cef89b67bed2e45da80038a56157fd1ecd4cfa93"
|
||||
val userKey=StartupAssetKey(31,1,userPin,"avatar/a01-black-tulle-roomy720-correct03/",3)
|
||||
val charPin="f8a69041da51e1a551c6991bfad6d7f034f0f320f726f58568afd43d81cb9604"
|
||||
val charKey=StartupAssetKey(36,1,charPin,"avatar/char-expressions-r02/",3)
|
||||
check(charKey.fingerprint!=userKey.fingerprint)
|
||||
check(runCatching { StartupAssetKey(36,1,userPin,charKey.root,3) }.isFailure)
|
||||
check(runCatching { StartupAssetKey(36,1,charPin,userKey.root,3) }.isFailure)
|
||||
check(runCatching { StartupAssetKey(36,1,charPin,charKey.root,2) }.isFailure)
|
||||
check(userKey.fingerprint!=key(pin=userPin,validator=3).fingerprint)
|
||||
for((root,pin,version) in listOf(Triple("avatar/unknown/",userPin,3),
|
||||
Triple(userKey.root,"b".repeat(64),3),Triple(userKey.root,userPin,2))) {
|
||||
|
||||
Reference in New Issue
Block a user