diff --git a/src/com/fr3ts0n/ecu/gui/androbd/SettingsActivity.java b/src/com/fr3ts0n/ecu/gui/androbd/SettingsActivity.java index 326651da..8bb7d229 100644 --- a/src/com/fr3ts0n/ecu/gui/androbd/SettingsActivity.java +++ b/src/com/fr3ts0n/ecu/gui/androbd/SettingsActivity.java @@ -142,7 +142,7 @@ void setupElmCmdSelection() MultiSelectListPreference pref = (MultiSelectListPreference) findPreference(ELM_CMD_DISABLE); ElmProt.CMD[] values = ElmProt.CMD.values(); - HashSet selections = new HashSet<>(); + HashSet selections = new HashSet(); CharSequence[] titles = new CharSequence[values.length]; CharSequence[] keys = new CharSequence[values.length]; int i = 0; @@ -193,7 +193,7 @@ void setupPidSelection() // collect data items for selection items = ObdProt.dataItems.getSvcDataItems(ObdProt.OBD_SVC_DATA); - HashSet selections = new HashSet<>(); + HashSet selections = new HashSet(); CharSequence[] titles = new CharSequence[items.size()]; CharSequence[] keys = new CharSequence[items.size()]; // loop through data items