summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2020-07-27 23:46:30 +0800
committerTiger Huang <tigerhuang@google.com>2020-08-19 15:32:53 +0800
commitf8175d1a5b276386037006a77d1df132774e9ed8 (patch)
tree0baf238bd1ea271116441a145e5fdeb792b9baa9 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6128b1ba0ffe488cc1901685454f3e07ef99e2c1 (diff)
Dispatch insets to client if mState is changed
Previous logic in onStateChanged notifies insetsChanged based on the change of mLastDispatchedState, which can make us dispatch redundant insets changes to the app. In this CL, we only notifies insetsChanged if mState is really changed in onStateChanged -- we use the final mState (after updateState and applyLocalVisibilityOverride) to compare with the one before changing. Fix: 161924448 Test: atest InsetsControllerTest WindowInsetsControllerTests Test: Swipe up to home while IME open and see if there is any jank Merged-In: Ia536cdf76805caa56ca1b6eaf2b3db83b6ecd94e Change-Id: Ia536cdf76805caa56ca1b6eaf2b3db83b6ecd94e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions