Example #1
0
  public void onDeactivate() {
    checkNewState(State.DEACTIVATED);
    _sensorManager.unregisterListener(this, _sensor);
    if (DEBUG) Log.d(TAG, "onDeactivate()");

    super.onDeactivate();
  }
Example #2
0
 @Override
 public void onDeactivate() {
   checkNewState(Input.State.DEACTIVATED);
   getContext().unregisterReceiver(_smsBroadcastReceiver);
   super.onDeactivate();
 }