@Override protected void onStop() { SensorHandler.unregisterListener(this); ServiceProvider.getService(CatroidService.BLUETOOTH_DEVICE_SERVICE).pause(); FaceDetectionHandler.stopFaceDetection(); super.onStop(); }
@Override protected void onStop() { if (Build.VERSION.SDK_INT >= 16) { // The default behavior of dialogs changed in JellyBean and onwards. // Dismissing a dialog (by pressing back for example) // applies the chosen date. This code is added here so that the custom // pickers behave the same as the internal DatePickerDialog. notifyDateSet(); } super.onStop(); }
@Override protected void onStop() { super.onStop(); mHasStarted = false; }