commit | 4ed68757a719523af76c30a1d0aa75df57d482a9 | [log] [tgz] |
---|---|---|
author | Kyunglyul Hyun <klhyun@google.com> | Mon Nov 04 16:05:34 2019 +0900 |
committer | Kyunglyul Hyun <klhyun@google.com> | Mon Nov 11 13:59:05 2019 +0900 |
tree | 0b7de8da903254d7ae0876c6a1eb6d7549dfba55 | |
parent | 6b99249727eba3a5ea891badcab486e456d4b369 [diff] |
MediaRouter2: Updates callback for MediaRouter2Manager This CL updates callbacks for MediaRouter2Manager such that onRoutesAdded, onRoutesRemoved are added and onRoutesChanged is changed. onControlCategories also is added to know when getAvailableRoutes() can be called. It also updated tests for that and add some helper methods to test easily. Test: atest mediaroutertest Change-Id: I122ce8f8472e01284f13b8aec79e3b8e97fc712b