aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2012-02-08 20:09:39 +0900
committerTadashi G. Takaoka <takaoka@google.com>2012-02-08 20:09:39 +0900
commit5962312b0724d8546ef76e3cd065b7baf578822f (patch)
treeb00eb73eee9e944d843080de903ad4d2ff28988f /java/src
parent7a39bd4454664b5c37b30e9b5362ddbcdce3b374 (diff)
downloadlatinime-5962312b0724d8546ef76e3cd065b7baf578822f.tar.gz
latinime-5962312b0724d8546ef76e3cd065b7baf578822f.tar.xz
latinime-5962312b0724d8546ef76e3cd065b7baf578822f.zip
Custom action label should be a part of keyboard identifier
Change-Id: Ia14cabc3d49fbdcb11dd00225d225fbb91cc4012
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/KeyboardId.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/KeyboardId.java b/java/src/com/android/inputmethod/keyboard/KeyboardId.java
index a000eae62..3ab24933c 100644
--- a/java/src/com/android/inputmethod/keyboard/KeyboardId.java
+++ b/java/src/com/android/inputmethod/keyboard/KeyboardId.java
@@ -102,6 +102,7 @@ public class KeyboardId {
id.mHasShortcutKey,
id.isMultiLine(),
id.imeAction(),
+ id.mCustomActionLabel,
id.mLocale
});
}
@@ -121,6 +122,7 @@ public class KeyboardId {
&& other.mHasShortcutKey == this.mHasShortcutKey
&& other.isMultiLine() == this.isMultiLine()
&& other.imeAction() == this.imeAction()
+ && TextUtils.equals(other.mCustomActionLabel, this.mCustomActionLabel)
&& other.mLocale.equals(this.mLocale);
}