Skip to content
Commit 6bb629bb authored by Neil Fuller's avatar Neil Fuller
Browse files

Refactoring to make next commit clearer

All changes included are intended not to change behavior.

The way the handler works has been changed but it shouldn't yield any
behavioral differences. The code no longer assumes a single thread and
employs @GuardedBy and synchronized to make it clear what state could be
updated by multiple threads if threading rules changed (dump() was
already a contender).

Various fields and method names have been changed to improve clarity.
Method ordering has been changed. Lint issues have been addressed.
The handler creation has been moved to the constructor to ensure code
can assume it is non-null.

Test: build / boot / treehugger
Bug: 222295093
Change-Id: Iae20955f52cdbc4c7896d31ddd84af549e9ff187
parent 188c7870
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