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

Commit b04cca86 authored by David Riley's avatar David Riley Committed by Michael Wachenschwanz
Browse files

activitymanagerservice.proto: Add client pid to ConnectionRecordProto.

Change-Id: Ic7995b125fd6f580ac6d81871498f0d37db2fd6c
Test: m graph_ams; adb shell dumpsys activity --proto > activity.bin; graph_ams activity.bin > activity.dot; dot -Tpdf activity.dot -o activity.pdf
Bug: 419577469
Flag: EXEMPT Improving dump debug method
parent cdcd07af
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -552,6 +552,8 @@ message ConnectionRecordProto {
    }
    repeated Flag flags = 3;
    optional string service_name = 4;

    optional int32 client_pid = 5;
}

message AppBindRecordProto {
+1 −0
Original line number Diff line number Diff line
@@ -339,6 +339,7 @@ final class ConnectionRecord implements OomAdjusterImpl.Connection{
                Integer.toHexString(System.identityHashCode(this)));
        if (binding.client != null) {
            proto.write(ConnectionRecordProto.USER_ID, binding.client.userId);
            proto.write(ConnectionRecordProto.CLIENT_PID, binding.client.mPid);
        }
        ProtoUtils.writeBitWiseFlagsToProtoEnum(proto, ConnectionRecordProto.FLAGS,
                flags, BIND_ORIG_ENUMS, BIND_PROTO_ENUMS);