diff options
author | Kyunglyul Hyun <klhyun@google.com> | 2019-08-06 11:17:16 +0900 |
---|---|---|
committer | Kyunglyul Hyun <klhyun@google.com> | 2019-08-12 12:33:12 +0900 |
commit | d1f0b6e0b3bac503593b98e4540cbef72e5aad97 (patch) | |
tree | 91a64e7232cfb1634cd6f017b515f07cf03487f5 /rs/java/android/renderscript/ProgramStore.java | |
parent | 0d8258ee02e5f259b2f21888968f2e713201be5b (diff) |
Media: Remove @MainThread from MediaRouter2
Now it uses mLock to synchronize mCallbackRecords, mControlCategories,
and mClient instead of enforcing main thread.
Also, check concurrency of MediaRouter2 and MediaRouter2Manager.
This CL also removes control category parameter from addCallback(registerCallback)
not to permit two callbacks in an application to have different control categories.
Function names are changed from add/remove callbacks to register/unregister callbacks
to follow the API guideline.
Test: atest mediaroutertest
Change-Id: I40f2bc45f7d108416182b68b4ae23127f8bb2eb4
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions