Commit ad5e42ca authored by Mike JS. Choi's avatar Mike JS. Choi Committed by Carola Nitz

Return immutable array of enabled remote commands

parent bf5f6e1d
......@@ -32,7 +32,7 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle()
if (@available(iOS 9.1, *)) {
[commands addObject:cc.changePlaybackPositionCommand];
}
return commands;
return [commands copy];
}
- (void)subscribeToRemoteCommands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment