Fix wrong history data when connected to LEA hearig aids
Root Cause: Triggered by profile state changed, when HapProfile get connected, it will change history TYPE_HEARING_DEVICES_CONNECTED. Then when its LeAudioProfile get connected, it will also change TYPE_LE_HEARING_CONNECTED. So a LEA hearing aids will alter 2 times history data. Solution: HapProfile should be treated independently, and LeAudioProfile should consider does it belong hearing aids or not. Bug: 441228401 Test: atest HearingDeviceStatsLogUtilsTest Flag: EXEMPT bugfix Change-Id: I6e97332f9fd388b4cf0e9a0a21ef7d7456608ba2
Loading
Please register or sign in to comment