abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/LayoutModifier.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/LayoutModifier.java')
-rw-r--r--srcs/juloo.keyboard2/LayoutModifier.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/juloo.keyboard2/LayoutModifier.java b/srcs/juloo.keyboard2/LayoutModifier.java
index 7220634..f37be25 100644
--- a/srcs/juloo.keyboard2/LayoutModifier.java
+++ b/srcs/juloo.keyboard2/LayoutModifier.java
@@ -2,7 +2,7 @@ package juloo.keyboard2;
import android.content.res.Resources;
import android.view.KeyEvent;
-import java.util.HashMap;
+import java.util.TreeMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
@@ -26,7 +26,7 @@ public final class LayoutModifier
{
// Extra keys are removed from the set as they are encountered during the
// first iteration then automatically added.
- final Map<KeyValue, KeyboardData.PreferredPos> extra_keys = new HashMap<KeyValue, KeyboardData.PreferredPos>();
+ final TreeMap<KeyValue, KeyboardData.PreferredPos> extra_keys = new TreeMap<KeyValue, KeyboardData.PreferredPos>();
final Set<KeyValue> remove_keys = new HashSet<KeyValue>();
// Make sure the config key is accessible to avoid being locked in a custom
// layout.