commit | 401c775ba37cb52df42f9c5792803fe74dae9d0a | [log] [tgz] |
---|---|---|
author | Orion Hodson <oth@google.com> | Tue Sep 13 09:03:50 2022 +0100 |
committer | Orion Hodson <oth@google.com> | Fri Sep 16 16:59:58 2022 +0100 |
tree | ac83cd2c71b62573b2aa6b10054104c840545444 | |
parent | 0f4015872a790c860c0a0ace72e5cb1f01cc993b [diff] |
Use one lock for DispatchThread mutable variables Previously this file included code that used a variable to type Boolean to synchronize upon, but the object referenced by the variable changes when the value is toggled from false to true so the synchronization was incorrect. This is because Boolean objects are not mutable. Bug: N/A Test: Treehugger Change-Id: Ib9c48d41eb198120a8d0cc956516d4656e104182