code: public void setEnable(boolean flag) {
          mPicker.setEnable(flag);
          mDragRoot.setEnable(flag);
          if (this.enable == flag)
          {
              // nothing to be done here, return
              return;
          }
          this.enable = flag;
          if (!flag)
          {
              // reset
              position.zero();
              if (previousActive) {
                  active = false;
              }
  
              synchronized (eventLock) {
                  keyEvent.clear();
                  motionEvent.clear();
              }
              update();
              context.getInputManager().removeCursorController(this);
          }
      }
docs: Use this method to enable or disable the {@link GVRCursorController}.
  
  By default the {@link GVRCursorController} is enabled. If disabled, the
  controller would not report new positions for the cursor and would not
  generate {@link SensorEvent}s to {@link GVRSensor}s.
  
  @param flag <code>true</code> to enable the {@link GVRCursorController},
  <code>false</code> to disable.