summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKyunglyul Hyun <klhyun@google.com>2020-03-04 18:09:53 +0900
committerKyunglyul Hyun <klhyun@google.com>2020-03-04 20:49:44 +0900
commitfe5839959731be55e006ea66ac2d9bf24ccfa591 (patch)
treecf11783d293be352ad6cea89f46641f757a1271d /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2b75d73bb659e0ebcadc73beeabff24b5db3f5ec (diff)
MediaRouter2: Fix routes IDs in RoutingSessionInfo
This CL fixes the issue that RoutingSessionInfo#getSelectedRoutes return improper route IDs when it is recreated. To ensure provider ID related feature, another test is added. Since RoutingSessionInfo#setProviderId is a hidden method, the test is not added to CTS. The reason for moving "updating route ID logic" into Builder is from considering use cases. The original ID of the route is only checked when the provider ID is set and a route is added to or removed from a RoutingSessionInfo, which is very rare case. This CL also fixes the issue that didn't release the previous routing session when transfer. Bug: 150666870 Bug: 150751854 Test: atest mediaroutertest Change-Id: Ic05c11ebf43562b44214eb661c8b9c106f1c9d3e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions