Loading android/app/src/com/android/bluetooth/btservice/ProfileService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,8 @@ public abstract class ProfileService extends Service { @Override @Override public void onDestroy() { public void onDestroy() { if (DBG) log("Destroying service."); if (DBG) log("Destroying service."); mAdapterService.removeProfile(this); if (mAdapterService != null) mAdapterService.removeProfile(this); if (mCleaningUp) { if (mCleaningUp) { if (DBG) log("Cleanup already started... Skipping cleanup()..."); if (DBG) log("Cleanup already started... Skipping cleanup()..."); } else { } else { Loading Loading
android/app/src/com/android/bluetooth/btservice/ProfileService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,8 @@ public abstract class ProfileService extends Service { @Override @Override public void onDestroy() { public void onDestroy() { if (DBG) log("Destroying service."); if (DBG) log("Destroying service."); mAdapterService.removeProfile(this); if (mAdapterService != null) mAdapterService.removeProfile(this); if (mCleaningUp) { if (mCleaningUp) { if (DBG) log("Cleanup already started... Skipping cleanup()..."); if (DBG) log("Cleanup already started... Skipping cleanup()..."); } else { } else { Loading