Skip to content

Commit

Permalink
[Darwin] Adding missing property on MTRDeviceController_XPC (project-…
Browse files Browse the repository at this point in the history
…chip#35188)

- Added controllerID to match the OverXPC interface
  • Loading branch information
anush-apple authored Aug 24, 2024
1 parent a93f4b6 commit 05b60aa
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 05b60aa

Please sign in to comment.