当执行.unbindService(mConnection);时报告如下异常:
java.lang.RuntimeException: Unable to destroy activity {com.symbio.kkbox.ui/com.symbio.kkbox.ui.PlayerActivity}: java.lang.IllegalArgumentException: Service not registered:
需要getApplicationContext().unbindService(mConnection);来提升应用程序级别。同理,bindservice也需要提升到applicationcontext级别