diff options
Diffstat (limited to 'app/src/main/java/com/wireguard/android/VpnService.java')
-rw-r--r-- | app/src/main/java/com/wireguard/android/VpnService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/com/wireguard/android/VpnService.java b/app/src/main/java/com/wireguard/android/VpnService.java index fd2aadc3..35d54255 100644 --- a/app/src/main/java/com/wireguard/android/VpnService.java +++ b/app/src/main/java/com/wireguard/android/VpnService.java @@ -41,7 +41,7 @@ public class VpnService extends Service } private final IBinder binder = new Binder(); - private final ObservableArrayMap<String, Config> configurations = new ObservableArrayMap<>(); + private final ObservableTreeMap<String, Config> configurations = new ObservableTreeMap<>(); private final Set<String> enabledConfigs = new HashSet<>(); private SharedPreferences preferences; private Config primaryConfig; @@ -103,7 +103,7 @@ public class VpnService extends Service * * @return The set of known configurations. */ - public ObservableArrayMap<String, Config> getConfigs() { + public ObservableSortedMap<String, Config> getConfigs() { return configurations; } |