diff options
author | Yohei Yukawa <yukawa@google.com> | 2015-09-30 19:11:32 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2015-09-30 19:11:32 -0700 |
commit | e13a20faccf6f33aa43c9c1fa4c4ec2a79b86cfb (patch) | |
tree | 8cf61e25983d776635d9a869eaddeb781df0d179 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 54c331a05b5b593d306b475dbc0aabf8a87b6e6c (diff) |
Unbind IME client when unsetting the current IME.
This follows up Ia70b870723acf647e0c27f24aff91b40d6f85543.
In certain scenarios, only IMMS#mCurMethodId is cleared with null
while IMMS#mCurClient is still pointing to the last application.
This is problematic when IMMS#mCurClient matches
SystemConfig#getFixedImeApps(), because it means that the current
IME is to be fixed to null.
With this CL, IMMS#unbindCurrentClientLocked() is always called
every time when IMMS#mCurMethodId is cleared to null. Note that
clearing IMMS#mCurMethodId to null is a kind of hard-reset, where
unbinding IME client should make much sense in terms of robust
and predictable state management.
Bug: 18056075
Change-Id: I6c3186050592526fc95c5b27f18e2155acff5ebc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions