diff options
author | 2025-03-13 05:52:12 +0800 | |
---|---|---|
committer | 2025-03-14 05:23:53 +0800 | |
commit | 6d828503251c96ca8cc33e6f60c48ea8801870c0 (patch) | |
tree | 9c4030796cd97a9b4bd2ff98aded63deb63797d6 /libs/androidfw/Asset.cpp | |
parent | ab631004d0ab58d48bb2abcbba0acaefb939dd47 (diff) |
Fix test fail for HearingDevicePhoneCallNotificationController
Root Cause: attempt to call addOnCommunicationDeviceChangedListeneron a previously registered listener, and fail on pts-bot:HFP/AG#HFP/AG/ECS/BV-03-I CtsTelecomTestCases CtsTelephonyTestCases
Solution: Add protection to not register it multiple times
Bug: 402755697
Bug: 402749422
Test: atest HearingDevicePhoneCallNotificationControllerTest
Test: atest pts-bot:HFP/AG#HFP/AG/ECS/BV-03-I CtsTelecomTestCases CtsTelephonyTestCases
Flag: com.android.server.accessibility.hearing_input_change_when_comm_device
Change-Id: I51dd57f5578b6672d91356273930371f088fcdd5
Diffstat (limited to 'libs/androidfw/Asset.cpp')
0 files changed, 0 insertions, 0 deletions