CallerVerifier

Validates the authenticity of binder/intent callers before granting access.

Functions

Link copied to clipboard

Confirms that caller matches the current binder UID and returns the verified package name.

Link copied to clipboard
fun verifiedPackageFromIntent(context: Context, packageName: String): String

Confirms that packageName is owned by the calling UID and returns it.