summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Sampler.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2020-06-25 16:27:35 +0200
committerAdrian Roos <roosa@google.com>2020-06-25 20:02:48 +0200
commit417823dabc9b80c7789083277b842a8b35bc8593 (patch)
treedbaaa1f7c085bc48ac9c91d0a15f271ba8943866 /rs/java/android/renderscript/Sampler.java
parent0d145e89c6dec88c39182eeacff365fce5a8be01 (diff)
IME: Fix broken IME target calculation for child windows
When the IME target ends up being a starting window, we try to use the window behind it - but fail to take into account the child windows of the window behind, which may also be candidates for IME targets. Also unifies the treatment of TYPE_APPLICATION_STARTING regardless of the surface format (currently, starting windows always have alpha, so this is a no-op change, but unblocks testing and prevents accidentially triggering the other code path should we change the screenshot format). Fixes: 159267713 Bug: 159290973 Test: atest 'DisplayContentTests#testComputeImeTarget_startingWindow' Change-Id: Iedd5f7407926167f4891ce9b7e9a79e22751e668
Diffstat (limited to 'rs/java/android/renderscript/Sampler.java')
0 files changed, 0 insertions, 0 deletions