summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFeng Cao <fengcao@google.com>2020-05-20 19:36:15 -0700
committerFeng Cao <fengcao@google.com>2020-05-21 12:04:25 -0700
commit523dca0729e243849906d4a4b2fc1756ff4c8dda (patch)
treede4fc24e3b250f2b8b3e8e81c033a336f14d91d5 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent093730bff1bac053075b1cc5cb5c12243c5098f4 (diff)
Fix a bug where autofill resends inline suggestions in the wrong app
* This is broken by ag/11443581 where we remove clearing the suggestions when view exit. The problem is that we cache the suggestions across onFinishInput/onStartInput events and resends the suggestions when autofill id matches. But the autofill id can be the same for different apps, so we ended up resending the old suggestion in the new app field with the same autofill id but doesn't have its own autofill suggestions. * The fix is to clear the suggestions cache in the autofill side, but to avoid flickering the IME UI we don't send an empty response to the IME when observing ACTION_VIEW_EXITED Test: atest android.autofillservice.cts.inline Bug: 157174936 Change-Id: I156eecab3cae0b0684f3c5f5e0f852bf73e93a19
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions