Merge "Fix a bug that the condition for play/pause was reversed."