diff options
author | 2014-07-30 17:17:13 +0000 | |
---|---|---|
committer | 2014-07-30 17:17:13 +0000 | |
commit | e074053e36351869fed1048c110629f7451e91b8 (patch) | |
tree | 1c3a12c279ed04ff014d0cc85e98781912ecdb00 /java/src/com/android/inputmethod/event/CombinerChain.java | |
parent | 198e069ffef2bb2f16f1f19ea43e6b97c1db13fd (diff) | |
parent | 1f9ece1ca9046a00c4d6208a296c52beadce42fc (diff) | |
download | latinime-e074053e36351869fed1048c110629f7451e91b8.tar.gz latinime-e074053e36351869fed1048c110629f7451e91b8.tar.xz latinime-e074053e36351869fed1048c110629f7451e91b8.zip |
am 1f9ece1c: am 14d985bd: am 0f6807bf: Merge "[HW7] Introduce consumed events" into lmp-dev
* commit '1f9ece1ca9046a00c4d6208a296c52beadce42fc':
[HW7] Introduce consumed events
Diffstat (limited to 'java/src/com/android/inputmethod/event/CombinerChain.java')
-rw-r--r-- | java/src/com/android/inputmethod/event/CombinerChain.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/event/CombinerChain.java b/java/src/com/android/inputmethod/event/CombinerChain.java index 8c6b3d949..8ddc9e7d9 100644 --- a/java/src/com/android/inputmethod/event/CombinerChain.java +++ b/java/src/com/android/inputmethod/event/CombinerChain.java @@ -84,6 +84,8 @@ public class CombinerChain { * Process an event through the combining chain, and return a processed event to apply. * @param previousEvents the list of previous events in this composition * @param newEvent the new event to process + * @return the processed event. It may be the same event, or a consumed event, or a completely + * new event. However it may never be null. */ public Event processEvent(final ArrayList<Event> previousEvents, final Event newEvent) { final ArrayList<Event> modifiablePreviousEvents = new ArrayList<>(previousEvents); |