aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-09-03 10:52:56 +0900
committerTadashi G. Takaoka <takaoka@google.com>2014-09-03 23:35:39 +0900
commit5a9c9649db0e31eb8aa6a447dbde49e513933da3 (patch)
tree8fcb13c13655ac935d7943dd20a0bd65b1c069b0 /java/src
parent0af2472a69bf8aad21ce1603e912adab3891667e (diff)
downloadlatinime-5a9c9649db0e31eb8aa6a447dbde49e513933da3.tar.gz
latinime-5a9c9649db0e31eb8aa6a447dbde49e513933da3.tar.xz
latinime-5a9c9649db0e31eb8aa6a447dbde49e513933da3.zip
Removes "customAction" value from Key.backgroundType attribute
Bug: 17318036 Change-Id: I6a36d50ba2e69eafbb0faa049014281bd4d4ddfc
Diffstat (limited to 'java/src')
-rw-r--r--java/src/com/android/inputmethod/keyboard/Key.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/keyboard/Key.java b/java/src/com/android/inputmethod/keyboard/Key.java
index afcb3b66b..5b090d924 100644
--- a/java/src/com/android/inputmethod/keyboard/Key.java
+++ b/java/src/com/android/inputmethod/keyboard/Key.java
@@ -139,7 +139,6 @@ public class Key implements Comparable<Key> {
public static final int BACKGROUND_TYPE_STICKY_OFF = 3;
public static final int BACKGROUND_TYPE_STICKY_ON = 4;
public static final int BACKGROUND_TYPE_ACTION = 5;
- public static final int BACKGROUND_TYPE_CUSTOM_ACTION = 6;
private final int mActionFlags;
private static final int ACTION_FLAGS_IS_REPEATABLE = 0x01;
@@ -506,7 +505,6 @@ public class Key implements Comparable<Key> {
case BACKGROUND_TYPE_STICKY_OFF: return "stickyOff";
case BACKGROUND_TYPE_STICKY_ON: return "stickyOn";
case BACKGROUND_TYPE_ACTION: return "action";
- case BACKGROUND_TYPE_CUSTOM_ACTION: return "customAction";
default: return null;
}
}
@@ -873,8 +871,6 @@ public class Key implements Comparable<Key> {
new KeyBackgroundState(android.R.attr.state_checkable, android.R.attr.state_checked),
// 5: BACKGROUND_TYPE_ACTION
new KeyBackgroundState(android.R.attr.state_active),
- // 6: BACKGROUND_TYPE_CUSTOM_ACTION
- new KeyBackgroundState(android.R.attr.state_active, android.R.attr.state_checked)
};
}