Skip to content

Commit 05b60aa

Browse files
authored
[Darwin] Adding missing property on MTRDeviceController_XPC (project-chip#35188)
- Added controllerID to match the OverXPC interface
1 parent a93f4b6 commit 05b60aa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/darwin/Framework/CHIP/MTRDeviceController_XPC.mm

+5
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ - (NSXPCInterface *)_interfaceForClientProtocol
7878
return interface;
7979
}
8080

81+
- (id<NSCopying>)controllerXPCID
82+
{
83+
return [self.uniqueIdentifier UUIDString];
84+
}
85+
8186
- (id)initWithUniqueIdentifier:(NSUUID *)UUID xpConnectionBlock:(NSXPCConnection * (^)(void) )connectionBlock
8287
{
8388
if (self = [super initForSubclasses]) {

0 commit comments

Comments
 (0)