Combine a message as one string and give it to snet_event_log
snet_event_log gets 3 arguments. Combine a message of revoking permission when group changed and give it to 3rd argument of snet_event_log. Test: Repo'd scenario and looked at log Bug: 79443138 Change-Id: Iecf0505bb7927891aa879d0cacedcf94872b9452
This commit is contained in:
committed by
Philip P. Moltmann
parent
a1aafd7718
commit
acae3ef802
@@ -449,9 +449,10 @@ public class PermissionManagerService {
|
||||
userId) == PackageManager.PERMISSION_GRANTED) {
|
||||
EventLog.writeEvent(0x534e4554, "72710897",
|
||||
newPackage.applicationInfo.uid,
|
||||
"Revoking permission", permissionName, "from package",
|
||||
packageName, "as the group changed from",
|
||||
oldPermissionGroupName, "to", newPermissionGroupName);
|
||||
"Revoking permission " + permissionName +
|
||||
" from package " + packageName +
|
||||
" as the group changed from " + oldPermissionGroupName +
|
||||
" to " + newPermissionGroupName);
|
||||
|
||||
try {
|
||||
revokeRuntimePermission(permissionName, packageName, false,
|
||||
|
||||
Reference in New Issue
Block a user