altoslib: Flush during set_state. Don't store listener state.
authorKeith Packard <keithp@keithp.com>
Sun, 1 May 2016 01:37:05 +0000 (18:37 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 1 May 2016 01:37:05 +0000 (18:37 -0700)
commit59466c1c2dbf95c427c2bb52304049eaac4d124f
treebdc6e825a39dd2ff40cda8033df476a71df1f0e5
parent4219fd7720caeec196bf6cb1b4cf78c8fadaf3cd
altoslib: Flush during set_state. Don't store listener state.

The listener state wasn't used anyways, so don't bother storing
it. Also, flush the state during set_state, which actually causes the
state to be written out.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java
altoslib/AltosPreferences.java