summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:32:05 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit7dd00605d1d5283d193498707987d9c197339ee7 (patch)
treefa49ccdabf900168b67b6092cadfdf6638fb7076 /android
parentd21177002d1088cd3fdd5cd6290ff9bd1edd74d7 (diff)
downloadbluez-7dd00605d1d5283d193498707987d9c197339ee7.tar.gz
src: Inclusive language changes
BT core spec 5.3 promotes the usage of inclusive languages. This CL replaces some terms with the more appropriate counterparts, such as "central", "peripheral", "accept list", and "reject list". Note that some suggestions come from https://specificationrefs.bluetooth.com/language-mapping/Appropriate_Language_Mapping_Table.pdf Also use "primary" to refer the global mgmt struct. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'android')
-rw-r--r--android/handsfree-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/handsfree-client.c b/android/handsfree-client.c
index 4c682fbb8..c8f9e690e 100644
--- a/android/handsfree-client.c
+++ b/android/handsfree-client.c
@@ -405,7 +405,7 @@ static void cmd_complete_cb(enum hfp_result result, enum hfp_error cme_err,
case HFP_RESULT_DELAYED:
ev.type = HAL_HF_CLIENT_CMD_COMP_ERR_DELAYED;
break;
- case HFP_RESULT_BLACKLISTED:
+ case HFP_RESULT_REJECTED:
ev.type = HAL_HF_CLIENT_CMD_COMP_ERR_BACKLISTED;
break;
case HFP_RESULT_CME_ERROR: