diff options
author | Yohei Yukawa <yukawa@google.com> | 2014-06-06 19:12:47 +0900 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2014-06-09 18:30:02 +0900 |
commit | 3d1e8129ebd69db49d80e5d598f608c59b884cdf (patch) | |
tree | b8f3684902cfd9688623f8a1b909368bc5a6eb53 /rs/java/android/renderscript/ProgramStore.java | |
parent | c1026e17c6f178dfcf9ec5c671381ccc10a87227 (diff) |
Introduce a sequence number to avoid redundant IPCs
This CL introduces a sequence number to avoid redundant IPCs
between IMM and IMMS. The basic concept is that:
1. IMMS maintains a sequence number for #notifyUserAction.
2. IMMS increases the sequence number whenever the current
IME/subtype is changed.
3. IMMS notifies the new sequence number to IMM.
4. IMM maintains the last sent sequence number and the next
sequence number. IMM should call #notifyUserAction only
once per particular sequence number.
5. IMMS ignores #notifyUserAction if the specified sequence
number is not the expected one.
BUG: 7043015
Change-Id: I19ad8542659bc092b92ee13eb9f1d68ddd4b815a
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions