summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHyundo Moon <hdmoon@google.com>2021-06-03 16:24:34 +0900
committerHyundo Moon <hdmoon@google.com>2021-06-03 20:34:51 +0900
commit2eedc1fe648d9668b1607bfbbc15e164e7d08402 (patch)
tree39faf3cf2d1b3288b49791d8bd96f27fc186ed1f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent076dfc8370c790e30d22725185e3618f1d40fef3 (diff)
MediaRouter: Set initial mIsBluetoothA2dpOn value
When BT is connected before MediaRouter is initialized, the mIsBluetoothA2dpOn is not set as true. Since the value is false, the 'currentSystemRoute' variable in MediaRouter.selectRouteStatic() is always default route. This leads to skip selectRoute(defaultRoute) which is called by apps. The value is always false and not renewed, until audio routes changed. This results apps cannot make sounds through phone speaker. The CL fixes the issue by correctly assigning the value when MediaRouter is initialized. Bug: 189176702 Test: GMM can make sound via phone speaker. Change-Id: I4a83f9441a8b3165b7dd668aeef12c25fe3817c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions