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

Skip to content
Commit 75ea5a74 authored by Bishoy Gendy's avatar Bishoy Gendy
Browse files

Add threading annotations to MediaRouterService

- Added @GuardedBy annotation to state fields that require to be syncronized.
- Added @GuardedBy annotation to the methods with the suffix 'Locked', It is enough to make sure the method call is wrapped in syncronized block each time it's called, however this, I added the annotation to all methods with the suffix 'Locked' for convience.

Bug: 252765931
Test: atest MediaRouterTest
Change-Id: If31d84058d82a0f67b64f6eed7556ef36a58b51c
parent 1bdeb77e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment