Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ca9c339 authored by Jason Hsu's avatar Jason Hsu
Browse files

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
parent 9ee322dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment