Ignore reflected address until we've made a Bluetooth connection.

This reduces the opportunities for contacts to reflect a false address.
This commit is contained in:
akwizgran
2020-07-20 16:18:25 +01:00
parent 49f0640278
commit a4091be6f7
2 changed files with 31 additions and 4 deletions

View File

@@ -12,7 +12,10 @@ public interface BluetoothConstants {
// Local settings (not shared with contacts)
String PREF_ADDRESS_IS_REFLECTED = "addressIsReflected";
String PREF_EVER_CONNECTED = "everConnected";
// Default value for PREF_PLUGIN_ENABLE
// Default values for local settings
boolean DEFAULT_PREF_PLUGIN_ENABLE = false;
boolean DEFAULT_PREF_ADDRESS_IS_REFLECTED = false;
boolean DEFAULT_PREF_EVER_CONNECTED = false;
}