diff options
author | 2025-02-12 01:44:10 +0800 | |
---|---|---|
committer | 2025-03-07 12:19:24 +0800 | |
commit | a0241d2dbc04304e5211434721fc8e026c07235f (patch) | |
tree | dad6f6f97be82ccf22a32a96c5b24177ee9a1acd /services/accessibility/accessibility.aconfig | |
parent | 8ddbaf6afe87c5d53c0e5a3d4bec93e57ada9eeb (diff) |
Fix to not show mic input notification when communication device is other bluetooth device
Root Cause: We use getAvailableCommunicationDevices to show mic input notification, but did not
consider the case that other BT (car in this case) will coexist with hearing device.
Solution: Change to listen to the CommunicationDeviceChanged to show mic input notification when
communication device for now is hearing device.
Bug: 394070235
Test: atest HearingDevicePhoneCallNotificationControllerTest
Flag: com.android.server.accessibility.hearing_input_change_when_comm_device
Change-Id: I4ae002e407ee8f8e95dc6e22c49295585978067a
Diffstat (limited to 'services/accessibility/accessibility.aconfig')
-rw-r--r-- | services/accessibility/accessibility.aconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig index 64a4a4ae3c0d..35db3c6f0a6d 100644 --- a/services/accessibility/accessibility.aconfig +++ b/services/accessibility/accessibility.aconfig @@ -346,3 +346,13 @@ flag { purpose: PURPOSE_BUGFIX } } + +flag { + name: "hearing_input_change_when_comm_device" + namespace: "accessibility" + description: "Listen to the CommunicationDeviceChanged to show hearing device input notification." + bug: "394070235" + metadata { + purpose: PURPOSE_BUGFIX + } +} |