| commit | f50efdcd71c77334e8e1fd0fdc1981bfc99d7c37 | [log] [tgz] |
|---|---|---|
| author | jasonwshsu <jasonwshsu@google.com> | Fri Sep 09 02:20:05 2022 +0800 |
| committer | Jason Hsu <jasonwshsu@google.com> | Tue Sep 13 02:53:46 2022 +0000 |
| tree | d5d926cc92a845ac3f7bd3a92499f1cd5ba2df99 | |
| parent | f73ff9ec58542699fbd89f58b3ca0daa903f76e1 [diff] |
Fix hearing aid appears wrong side after device reboot. Root Cause: Only set deviceSide() and deviceMode() when connection state change. Solution: Set deviceSide() and deviceMode() together with setHiSyncId() when HearingAidService connected and addDevice() into CachedBluetoothDevice. Bug: 243621489 Test: make RunSettingsLibRoboTests ROBOTEST_FILTER=HearingAidDeviceManagerTest Change-Id: Iaa5a00311006c6e6bb9aaf565224627df1c5beaa