Skip to content
Commit 9d90bbc9 authored by Pavel Grafov's avatar Pavel Grafov
Browse files

Ensure correct admin name is logged.

Currently if permission checks aren't enabled, caller.getPackageName()
will return null and it will be passed to metrics and security log.
This CL changes it so that caller always has package.

Bug: 266588263
Test: atest OrgOwnedProfileOwnerTest#testSecurityLogging
Change-Id: I55ce06b89563421af50280d893029ac7a41f8081
parent 8f21c8a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment