altosdroid: Lots of bluetooth connection changes
authorKeith Packard <keithp@keithp.com>
Tue, 17 Feb 2015 04:57:11 +0000 (20:57 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 17 Feb 2015 04:57:11 +0000 (20:57 -0800)
commitc51d39c7ea1153cd2d0dc02c47824a9f35b22fb9
treede9f28a3737c3a2dbaa62bb1fd78af47303b67f2
parentb13a78e4f457f67605fc6dafc7f9733746a4f70c
altosdroid: Lots of bluetooth connection changes

Appears to more reliably abort in-progress connection attempts so you
can switch TBT devices without having the previous device in
operation.

Shows which device the connection is being attempted for.

Eliminate the 10-second timer and just disable the service when the GUI
shuts down while no BT connection is running.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/AltosBluetooth.java
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroidPreferences.java
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroidTab.java
altosdroid/src/org/altusmetrum/AltosDroid/DeviceListActivity.java
altosdroid/src/org/altusmetrum/AltosDroid/TelemetryService.java
altosdroid/src/org/altusmetrum/AltosDroid/TelemetryState.java