summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYunfan Chen <yunfanc@google.com>2020-12-07 22:43:56 +0900
committerYunfan Chen <yunfanc@google.com>2020-12-17 16:56:25 +0900
commitf4fdd100cee6e1f6549e48105543e16cd98eb49a (patch)
tree092aba723bde75f9e1ec59fdc0d6cabe2c93a48e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent1ebf250a941968422a22b86f0defd0d13afe9aed (diff)
Ensure notifying when only caption insets changed
There's a bug where we dispatch the insets state only compare to the previous dispatched state excluding the caption insets. Make the insets included to make sure the caption insets change can be dispatched if only the caption insets changed. Another issue is, when we dismiss the caption, it happens after the window lay out traversal but before the post layout. It is necessary to notify the insets change because there's no server insets change in the post layout process and the app won't be able to receive the insets change. Test: atest InsetsControllerTest Test: see reproduce steps in b/174718377 Test: Turn an app into freeform mode, the insets will be applied immidiately Test: go/wm-smoke Bug: 174718377 Change-Id: I5c40c406fcec40c9fe87ef6fa1b54e1a2592e3bc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions