summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/FieldPacker.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-06 17:26:57 +0800
commitb6478edb0945ef676fc1183f17a2d0e3c758deb7 (patch)
treefe93441b6c3a5094f7d268b9b570920acd0f0b4e /rs/java/android/renderscript/FieldPacker.java
parent40a85e281298a467fb9254675e1a7a6011a6c1a9 (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 Change-Id: Ia536cdf76805caa56ca1b6eaf2b3db83b6ecd94e
Diffstat (limited to 'rs/java/android/renderscript/FieldPacker.java')
0 files changed, 0 insertions, 0 deletions