summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-02-07 13:19:00 -0800
committerchaviw <chaviw@google.com>2018-02-08 15:52:01 -0800
commitebcbc34587e0e88ddce2158d161c6eb39b06c3dd (patch)
tree8e7544de65479166dcad404e673bc37fcd354f5c /tools/aapt2/java/JavaClassGenerator.cpp
parent44dbca0999d1c20237383ff9a2199a21ccc4d4d4 (diff)
Use the WS hidden flag instead of WSA for dim check
The current code uses the WSA mLastHidden flag to ensure that the WSA animation starts at the same time as the dim. However, the flag is set to true when the layer is being preserved which will cause the dim to hide and then show again. Instead, use the WS mHidden flag which is set to false when the WSA will be shown, but still remains false when the WSA surface is getting preserved. Change-Id: I8b2545480fad78cdba26173d28503fc7fe591d28 Fixes: 72869695 Test: Bug no longer occurs. Test: Other dims still work properly Test: atest WindowManagerSmokeTest
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions