commit | f2ae0e31b3a46f19c50d22d73370383e7d6c4eb3 | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Mon Apr 22 11:44:43 2024 +0000 |
committer | Chris Li <lihongyu@google.com> | Tue Apr 23 07:31:32 2024 +0000 |
tree | 43910f494771e27171b27365402d044d859e3404 | |
parent | e70357a60659b7dab962cb276b981e076a09e0fb [diff] |
Fix ConcurrentModificationException on WindowToken Because there can be multiple different UI threads for different View windows, the corresponding configuration changed callback can be triggered in different threads. Add lock to make it thread-safe. Fix: 335967960 Test: Refactor pass existing tests Flag: com.android.window.flags.window_token_config_thread_safe Change-Id: I504731bf60f029010ebd370bb2b2e99199998f2f