code: public void setEnabled(boolean enable) {
          if (enable && !mEnabled) {
              if (DBG) Log.d(TAG, "Notification handler=" + ID + " is now enabled.");
              mEnabled = true;
          } else if (!enable && mEnabled) {
              if (DBG) Log.d(TAG, "Notification handler=" + ID + " is now disabled.");
              mEnabled = false;
              cancelAll();
          }
      }
docs: Enable/disable notification.
  
  @param enable