protected boolean cleanup() {
if (mStateMachine!= null) {
mStateMachine.cleanup();
- mStateMachine=null;
}
+ clearA2dpService();
return true;
}
protected boolean cleanup() {
if (mStateMachine != null) {
mStateMachine.cleanup();
- mStateMachine=null;
}
+ clearHeadsetService();
return true;
}
if(mInputDevices != null) {
mInputDevices.clear();
- mInputDevices = null;
}
+ clearHidService();
return true;
}