Modifies concurrency handling in ContextHubClientBroker

With PendingIntent, there will be multiple states in the class, so it
will be simpler to mark methods synchronized on the object.

Bug: 117612105
Test: Compile only
Change-Id: I60dfac3113508b9e251e33fd3c1c8f60378017f4
2 files changed