Commit 907261df authored by Mike JS. Choi's avatar Mike JS. Choi Committed by Carola
Browse files

Return immutable array of enabled remote commands

(cherry picked from commit ad5e42ca)
parent 32a27bf1
......@@ -32,7 +32,7 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle()
if (@available(iOS 9.1, *)) {
[commands addObject:cc.changePlaybackPositionCommand];
}
return commands;
return [commands copy];
}
- (void)subscribeToRemoteCommands
......
Supports Markdown
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