commit | 6883c9aab4c7f0a9e381246da5734171f8dabbed | [log] [tgz] |
---|---|---|
author | Kevin Chyn <kchyn@google.com> | Tue Dec 13 00:00:19 2022 +0000 |
committer | Kevin Chyn <kchyn@google.com> | Fri Dec 16 19:30:21 2022 +0000 |
tree | afef5e4d4db7d08d5e1a58728d7dc703e67c7828 | |
parent | 4ec0db91392892caf49effc9d8d90eb04221fa2f [diff] |
Address thread safety issues in WindowLayoutComponentImpl Check usages of its class variables (and functions). Added a lock object, and use it to protect access to class variables in cases where the calling thread is undefined. Bug: 242647030 Test: make androidx.window.extensions RUN_ERROR_PRONE=true check warnings Test: Smoke test with Jetpack WindowManager Demos apk Change-Id: I5050e67a30e4b839f7954d56857f61d13c712140