public boolean handleLongClick(View v,float x,float y){
synchronized (actionModeCallbackLock) {
    if ((currentActionModeCallback instanceof PathCreationActionModeCallback)) {
      Log.d("EasyEditManager","handleLongClick ignoring long click");
      return false;
    }
  }
  v.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
  if (main.startSupportActionMode(new LongClickActionModeCallback(x,y)) == null) {
    main.startSupportActionMode(new PathCreationActionModeCallback(x,y));
  }
  return true;
}

public boolean handleLongClick ( View v , float x , float y ) { synchronized ( actionModeCallbackLock ) { if ( ( currentActionModeCallback instanceof PathCreationActionModeCallback ) ) { Log . d ( "EasyEditManager" , "handleLongClick ignoring long click" ) ; return false ; } } v . performHapticFeedback ( HapticFeedbackConstants . LONG_PRESS ) ; if ( main . startSupportActionMode ( new LongClickActionModeCallback ( x , y ) ) == null ) { main . startSupportActionMode ( new PathCreationActionModeCallback ( x , y ) ) ; } return true ; }
this gets called when the map is long - pressed in easy - edit mode
