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

Skip to content
Commit 53e89c9f authored by JW Wang's avatar JW Wang
Browse files

Add thread annotations (1/n)

Make it clear which thread a method should be called from. This should
make the code more readable and easier to reason about.

- @AnyThread annotates thread-safe methods.
- @WorkerThread annotates methods that should only run on the
  handler thread.

Bug: 145335013
Test: m

Change-Id: Iee986448dfdd32e2c0e898196da76072ed0af972
parent 9e87abdc
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