Skip to content

Commit

Permalink
[Darwin] Adding missing property on XPC controller
Browse files Browse the repository at this point in the history
- Added controllerID to match the OverXPC interface
  • Loading branch information
anush-apple committed Aug 24, 2024
1 parent a93f4b6 commit dec5fc1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ - (NSXPCInterface *)_interfaceForClientProtocol
return interface;
}

- (id<NSCopying>)controllerXPCID
{
return [self.uniqueIdentifier UUIDString];
}

- (id)initWithUniqueIdentifier:(NSUUID *)UUID xpConnectionBlock:(NSXPCConnection * (^)(void) )connectionBlock
{
if (self = [super initForSubclasses]) {
Expand Down

0 comments on commit dec5fc1

Please sign in to comment.