summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flags/hid.aconfig10
-rw-r--r--system/btif/src/btif_hh.cc4
2 files changed, 0 insertions, 14 deletions
diff --git a/flags/hid.aconfig b/flags/hid.aconfig
index e59a93c926..b47f8c1cd2 100644
--- a/flags/hid.aconfig
+++ b/flags/hid.aconfig
@@ -10,16 +10,6 @@ flag {
}
flag {
- name: "suppress_hid_rejection_broadcast"
- namespace: "bluetooth"
- description: "Don't generate state change event when an incoming HID connection is rejected"
- bug: "339018102"
- metadata {
- purpose: PURPOSE_BUGFIX
- }
-}
-
-flag {
name: "hid_report_queuing"
namespace: "bluetooth"
description: "Queue incoming HID reports if UHID is not ready"
diff --git a/system/btif/src/btif_hh.cc b/system/btif/src/btif_hh.cc
index 81f7b77e5e..9bb670a2b2 100644
--- a/system/btif/src/btif_hh.cc
+++ b/system/btif/src/btif_hh.cc
@@ -643,10 +643,6 @@ static void hh_open_handler(tBTA_HH_CONN& conn) {
p_dev->dev_status = BTHH_CONN_STATE_DISCONNECTED;
}
- if (!com::android::bluetooth::flags::suppress_hid_rejection_broadcast()) {
- hh_connect_complete(conn, BTHH_CONN_STATE_DISCONNECTED);
- return;
- }
BTA_HhClose(conn.handle);
return;
}