Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f2ae0e31 authored by Chris Li's avatar Chris Li
Browse files

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
parent e70357a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment