OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f8b130
)
Get rid of meaningles GATT client error log
author
Jakub Pawlowski
<jpawlowski@google.com>
Thu, 9 Aug 2018 07:24:41 +0000
(09:24 +0200)
committer
Jakub Pawlowski
<jpawlowski@google.com>
Thu, 9 Aug 2018 07:35:08 +0000
(09:35 +0200)
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
btif/src/btif_gatt_client.cc
patch
|
blob
|
history
diff --git
a/btif/src/btif_gatt_client.cc
b/btif/src/btif_gatt_client.cc
index
f05e7a0
..
7e2d88b
100644
(file)
--- 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;