altosdroid: When the user switches frequency, look for something there
authorKeith Packard <keithp@keithp.com>
Sun, 9 Feb 2020 07:55:58 +0000 (23:55 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 9 Feb 2020 07:55:58 +0000 (23:55 -0800)
commit1df1efc7a022597287722dc3a34d3a678fde6d3b
tree504c6ee29f6a86d707eba3a59bb4e867df03b9bd
parenta88989faebdc3a4b5198c4150096e6f626d76a96
altosdroid: When the user switches frequency, look for something there

Instead of sticking with the original tracker serial, when the user
selects a new frequency, check to see if some data appears there and
switch to that tracker.

Only do this once, and stop looking if the user selects a tracker.

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