summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
author jasonwshsu <jasonwshsu@google.com> 2024-12-23 17:00:39 +0800
committer jasonwshsu <jasonwshsu@google.com> 2025-01-06 22:45:06 +0800
commit8f561169dc1ce4c6696804e884d842bede05bb77 (patch)
tree4d0603a4bc131ebdf06f597b735006ab941df7eb /proto/src
parent834f96f5787321fd2542965263ea6eb332cb0bf8 (diff)
[HA Input] Show notification to hint user can change input device when calling
* Listen to phone state 'CALL_STATE_OFFHOOK' and show notification when hearing device is connected * 'Switch' action button on notification to temporary switch input device * 'Settings' action button on notification to launch to device details page * Tap on notification to also bring user to device details page Bug: 349255906 Test: atest HearingDevicePhoneCallNotificationControllerTest SystemNotificationChannelsTest Flag: com.android.settingslib.flags.hearing_devices_input_routing_control Change-Id: Ic4920e2fde5e0c002018b15c2734a3b27b60d038
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/system_messages.proto4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto/src/system_messages.proto b/proto/src/system_messages.proto
index 648990588d29..3a38152825c9 100644
--- a/proto/src/system_messages.proto
+++ b/proto/src/system_messages.proto
@@ -420,5 +420,9 @@ message SystemMessage {
// Notify the user that accessibility floating menu is hidden.
// Package: com.android.systemui
NOTE_A11Y_FLOATING_MENU_HIDDEN = 1009;
+
+ // Notify the hearing aid user that input device can be changed to builtin device or hearing device.
+ // Package: android
+ NOTE_HEARING_DEVICE_INPUT_SWITCH = 1012;
}
}