1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-06-03 03:02:10 +00:00

Merge pull request #13219 from dustdfg/kotlin_check_is_not_if

Correct inverted check (error fix on dev branch)
This commit is contained in:
Stypox
2026-02-09 14:51:06 +01:00
committed by GitHub
@@ -85,7 +85,7 @@ internal class PackageValidator(context: Context) {
?: error("Caller wasn't found in the system?")
// Verify that things aren't ... broken. (This test should always pass.)
check(callerPackageInfo.uid != callingUid) {
check(callerPackageInfo.uid == callingUid) {
"Caller's package UID doesn't match caller's actual UID?"
}