summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author jasonwshsu <jasonwshsu@google.com> 2023-02-28 14:52:01 +0800
committer jasonwshsu <jasonwshsu@google.com> 2023-03-20 20:03:15 +0800
commit05928ef343ff22b5f4186a984ad3f2b64c879cfd (patch)
tree1dd914da0e88d7f46733907e8cf5663ec977b1f4 /libs/androidfw/ApkParsing.cpp
parentf476063bc85c5c660bdf78ff77ce20ff5f2f2d3f (diff)
Fix audio routing can not work after the phone get rebooted
Root Cause: setPreferredDeviceForStrategy() need to be called when hearing device get connected. Solution: * Call setPreferredDeviceForStrategy() when HearingAidDeviceManager#onProfileConnectionStateChangedIfProcessed() * Extract the common functions into SettingsLib Bug: 269122580 Test: make RunSettingsRoboTests ROBOTEST_FILTER="(CachedBluetoothDeviceManagerTest|HearingAidAudioRoutingHelperTest|HearingAidDeviceManagerTest)" Change-Id: I622040384f56f61c65f0daac45735789d637b703
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions