Esempio n. 1
0
 public void notifyDisconnected() {
   gcsHeartbeat.setActive(false);
   invalidateOptionsMenu();
   /*
   if(armButton != null){
   	armButton.setEnabled(false);
   }*/
   screenOrientation.unlock();
 }
Esempio n. 2
0
  public void notifyConnected() {
    gcsHeartbeat.setActive(true);
    invalidateOptionsMenu();

    /*
    if(armButton != null){
    	armButton.setEnabled(true);
    }
    */
    screenOrientation.requestLock();
  }