Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XCSoar/XCSoar
/ setState
Method
setState
android/src/UsbSerialPort.java:179–185 ·
view source on GitHub ↗
(int newState)
Source
from the content-addressed store, hash-verified
177
}
178
179
protected
void
setState(
int
newState) {
180
if
(newState == state)
181
return
;
182
183
state = newState;
184
stateChanged();
185
}
186
187
protected
void
error(String msg) {
188
state = STATE_FAILED;
Callers
1
open
Method · 0.95
Calls
1
stateChanged
Method · 0.95
Tested by
no test coverage detected