From dc89c83a08eef69ff772871406b5d19258392f8b Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 30 Jun 2014 17:51:55 +0200 Subject: [PATCH] GATT: Fix parameters order for gattClientGetIncludedServiceNative inclSrvcInstId and inclSrvcType were in reverse order. Change-Id: I28c1f464344af2893c1a63f72cae8d49eb7bb990 --- src/com/android/bluetooth/gatt/GattService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/bluetooth/gatt/GattService.java b/src/com/android/bluetooth/gatt/GattService.java index 26ef18d1..aea84eaa 100644 --- a/src/com/android/bluetooth/gatt/GattService.java +++ b/src/com/android/bluetooth/gatt/GattService.java @@ -820,7 +820,7 @@ public class GattService extends ProfileService { // Find additional included services gattClientGetIncludedServiceNative(connId, srvcType, srvcInstId, srvcUuidLsb, srvcUuidMsb, - inclSrvcType, inclSrvcInstId, inclSrvcUuidLsb, inclSrvcUuidMsb); + inclSrvcInstId, inclSrvcType, inclSrvcUuidLsb, inclSrvcUuidMsb); } else { // Discover descriptors now continueSearch(connId, 0); -- 2.11.0