public class AltosBTKnown implements Iterable<AltosBTDevice> {
LinkedList<AltosBTDevice> devices = new LinkedList<AltosBTDevice>();
- Preferences bt_pref = AltosPreferences.bt_devices();
+ Preferences bt_pref = AltosUIPreferences.bt_devices();
private String get_address(String name) {
return bt_pref.get(name, "");
}
private void flush() {
- AltosPreferences.flush_preferences();
+ AltosUIPreferences.flush_preferences();
}
public void set(Iterable<AltosBTDevice> new_devices) {
public AltosBTKnown() {
devices = new LinkedList<AltosBTDevice>();
- bt_pref = AltosPreferences.bt_devices();
+ bt_pref = AltosUIPreferences.bt_devices();
load();
}
}
\ No newline at end of file