@Override public void onDestroy() { super.onDestroy(); Log.d(TAG, "onDestroy entered"); foregroundServiceStarter.stop(); //BgToSpeech.tearDownTTS(); Log.i(TAG, "SERVICE STOPPED"); // ???? What will realy stop me, or am I already stopped??? try { prefs.unregisterOnSharedPreferenceChangeListener(prefListener); } catch (Exception e) { Log.e(TAG, "Exception unregistering prefListener"); } }
@Override public void onDestroy() { super.onDestroy(); UserError.Log.d(TAG, "onDestroy entered"); foregroundServiceStarter.stop(); UserError.Log.i(TAG, "SERVICE STOPPED"); lastState = "Stopped " + JoH.hourMinuteString(); }
@Override public void onDestroy() { super.onDestroy(); UserError.Log.d(TAG, "onDestroy entered"); foregroundServiceStarter.stop(); UserError.Log.i(TAG, "SERVICE STOPPED"); lastState = "Stopped " + JoH.hourMinuteString(); }
@Override public void onDestroy() { super.onDestroy(); Log.d(TAG, "onDestroy entered"); foregroundServiceStarter.stop(); //BgToSpeech.tearDownTTS(); Log.i(TAG, "SERVICE STOPPED"); // ???? What will realy stop me, or am I already stopped??? try { prefs.unregisterOnSharedPreferenceChangeListener(prefListener); } catch (Exception e) { Log.e(TAG, "Exception unregistering prefListener"); } }
@Override public void onDestroy() { super.onDestroy(); close(); if (shouldServiceRun(getApplicationContext())) {//Android killed service setRetryTimer(); } else {//onDestroy triggered by CollectionServiceStart.stopBtService if (pendingIntent != null) { Log.d(TAG, "onDestroy stop Alarm serviceIntent"); AlarmManager alarm = (AlarmManager) getSystemService(ALARM_SERVICE); alarm.cancel(pendingIntent); } } foregroundServiceStarter.stop(); unregisterReceiver(mPairReceiver); //BgToSpeech.tearDownTTS(); Log.i(TAG, "SERVICE STOPPED"); }
@Override public void onDestroy() { super.onDestroy(); close(); if (shouldServiceRun(getApplicationContext())) {//Android killed service setRetryTimer(); } else {//onDestroy triggered by CollectionServiceStart.stopBtService if (pendingIntent != null) { Log.d(TAG, "onDestroy stop Alarm serviceIntent"); AlarmManager alarm = (AlarmManager) getSystemService(ALARM_SERVICE); alarm.cancel(pendingIntent); } } foregroundServiceStarter.stop(); unregisterReceiver(mPairReceiver); //BgToSpeech.tearDownTTS(); Log.i(TAG, "SERVICE STOPPED"); }
Log.d(TAG, "onDestroy entered"); close(); foregroundServiceStarter.stop();
Log.d(TAG, "onDestroy entered"); close(); foregroundServiceStarter.stop();
Log.d(TAG, "onDestroy entered"); close(); foregroundServiceStarter.stop();