Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acae3ef8 authored by Koji Fukui's avatar Koji Fukui Committed by Philip P. Moltmann
Browse files

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
parent a1aafd77
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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,