We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e53a99 commit 5bdb6f1Copy full SHA for 5bdb6f1
1 file changed
app/src/main/java/org/schabi/newpipe/util/ReleaseVersionUtil.kt
@@ -15,10 +15,11 @@ object ReleaseVersionUtil {
15
private const val RELEASE_CERT_PUBLIC_KEY_SHA256 =
16
"cb84069bd68116bafae5ee4ee5b08a567aa6d898404e7cb12f9e756df5cf5cab"
17
18
+ @OptIn(ExperimentalStdlibApi::class)
19
val isReleaseApk by lazy {
20
@Suppress("NewApi")
21
val certificates = mapOf(
- RELEASE_CERT_PUBLIC_KEY_SHA256.toByteArray() to PackageManager.CERT_INPUT_SHA256
22
+ RELEASE_CERT_PUBLIC_KEY_SHA256.hexToByteArray() to PackageManager.CERT_INPUT_SHA256
23
)
24
val app = App.getApp()
25
try {
0 commit comments