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