Correct inverted check
If performs action when value is true but check when false Fix for d6be966db36bca3d40611675e0d1a6693870f8d4
This commit is contained in:
parent
dab8e056e9
commit
37cef825a2
@ -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?"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user