Merge pull request #8930 from dominickuo/bug-856716

Bug 856716 - [music] fix the lack of ModeManager, r=mozsquib(cherry picked from commit e2e10f004a7eecf82175d2bab013eedf84689487)