Loading src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ import android.content.Context; public class AdapterService extends Service { private static final String TAG = "BluetoothAdapterService"; private static final boolean DBG = false; private static final boolean DBG = true; private static final boolean TRACE_REF = true; //For Debugging only private static int sRefCount=0; Loading Loading @@ -315,6 +315,7 @@ public class AdapterService extends Service { boolean stopProfileServices() { Class[] supportedProfileServices = Config.getSupportedProfiles(); Log.d(TAG,"mProfilesStarted : " + mProfilesStarted + " supportedProfileServices.length : "+ supportedProfileServices.length); if (mProfilesStarted && supportedProfileServices.length>0) { setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF); return true; Loading src/com/android/bluetooth/btservice/AdapterState.java +1 −0 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ final class AdapterState extends StateMachine { errorLog("Error stopping Bluetooth profiles"); mPendingCommandState.setTurningOff(false); transitionTo(mOffState); notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); break; case DISABLE_TIMEOUT: if (DBG) Log.d(TAG,"CURRENT_STATE=PENDING, MESSAGE = DISABLE_TIMEOUT, isTurningOn=" + isTurningOn + ", isTurningOff=" + isTurningOff); Loading Loading
src/com/android/bluetooth/btservice/AdapterService.java +2 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ import android.content.Context; public class AdapterService extends Service { private static final String TAG = "BluetoothAdapterService"; private static final boolean DBG = false; private static final boolean DBG = true; private static final boolean TRACE_REF = true; //For Debugging only private static int sRefCount=0; Loading Loading @@ -315,6 +315,7 @@ public class AdapterService extends Service { boolean stopProfileServices() { Class[] supportedProfileServices = Config.getSupportedProfiles(); Log.d(TAG,"mProfilesStarted : " + mProfilesStarted + " supportedProfileServices.length : "+ supportedProfileServices.length); if (mProfilesStarted && supportedProfileServices.length>0) { setProfileServiceState(supportedProfileServices,BluetoothAdapter.STATE_OFF); return true; Loading
src/com/android/bluetooth/btservice/AdapterState.java +1 −0 Original line number Diff line number Diff line Loading @@ -339,6 +339,7 @@ final class AdapterState extends StateMachine { errorLog("Error stopping Bluetooth profiles"); mPendingCommandState.setTurningOff(false); transitionTo(mOffState); notifyAdapterStateChange(BluetoothAdapter.STATE_OFF); break; case DISABLE_TIMEOUT: if (DBG) Log.d(TAG,"CURRENT_STATE=PENDING, MESSAGE = DISABLE_TIMEOUT, isTurningOn=" + isTurningOn + ", isTurningOff=" + isTurningOff); Loading