diff options
author | Jeff Chang <chengjeff@google.com> | 2019-06-18 11:51:25 +0800 |
---|---|---|
committer | Jeff Chang <chengjeff@google.com> | 2019-06-19 07:52:38 +0000 |
commit | 3cf3e56ad98995fc62797bfaa6cc462f901865c7 (patch) | |
tree | 12e3362e354cef610ffac334f1cfeb5fdffc0088 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 64fbab540d8828c610a6b3d23a5c4afbeb0f701c (diff) |
Fix a potential crash when calculate system gesture exclusion
When calculate the exclude region during the swipe gesture. There is a
chance to meet index out of bounds exception when traverse all windows
to assemble the gesture exclusion rects. We add a WM lock to protect
the window state correctly.
Bug: 135298121
Test: atest DisplayPolicyTests
atest DisplayContentTests
Change-Id: Ib71134d97e43ac91ce6713dd3dbf30280c44c574
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions