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 and PeterC1965 committed Aug 28, 2024
1 parent ed61f98 commit 4bc855e
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 4bc855e

Please sign in to comment.