Correct inverted check
If performs action when value is true but check when false
Fix for 07e53a2d7a
This commit is contained in:
parent
c7c3520c63
commit
25934e01eb
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ internal class PackageValidator(context: Context) {
|
||||||
?: error("Caller wasn't found in the system?")
|
?: error("Caller wasn't found in the system?")
|
||||||
|
|
||||||
// Verify that things aren't ... broken. (This test should always pass.)
|
// 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?"
|
"Caller's package UID doesn't match caller's actual UID?"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue