altosui: add missing methods for Backend, fix BT code.
[fw/altos] / altosui / AltosUIPreferences.java
index 03e8e1290936e21de066365f44e1f7a9fe4e4d7f..6e4c9097268f697ca3408f6115d7c45e92a3bd31 100644 (file)
@@ -98,7 +98,7 @@ public class AltosUIPreferences extends AltosPreferences {
                }
        }
        public static int font_size() {
-               synchronized (preferences) {
+               synchronized (backend) {
                        return font_size;
                }
        }
@@ -144,7 +144,7 @@ public class AltosUIPreferences extends AltosPreferences {
        }
 
        public static String look_and_feel() {
-               synchronized (preferences) {
+               synchronized (backend) {
                        return look_and_feel;
                }
        }
@@ -170,7 +170,7 @@ public class AltosUIPreferences extends AltosPreferences {
        }
 
        public static boolean serial_debug() {
-               synchronized (preferences) {
+               synchronized (backend) {
                        return serial_debug;
                }
        }