From: Jakub Pawlowski Date: Thu, 9 Aug 2018 07:24:41 +0000 (+0200) Subject: Get rid of meaningles GATT client error log X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=53d66a4847cd59bae13c969d4ec17727d5b8379d;p=android-x86%2Fsystem-bt.git Get rid of meaningles GATT client error log Right now we often get this error in logs: E bt_btif_gattc: btif_gattc_upstreams_evt: Unhandled event (7)! This is often misinterpreted during log analysis as error, where this really means just uninteresting event we don't want to handle. Change-Id: Ia7804b2e1802a117198a31e025d05a80f973e896 --- diff --git a/btif/src/btif_gatt_client.cc b/btif/src/btif_gatt_client.cc index f05e7a046..7e2d88b04 100644 --- a/btif/src/btif_gatt_client.cc +++ b/btif/src/btif_gatt_client.cc @@ -163,6 +163,9 @@ void btif_gattc_upstreams_evt(uint16_t event, char* p_param) { /* Ignore for now */ break; + case BTA_GATTC_SEARCH_RES_EVT: + break; + case BTA_GATTC_CANCEL_OPEN_EVT: break;