OSDN Git Service

GATT: Fix parameters order for gattClientGetIncludedServiceNative
authorSzymon Janc <szymon.janc@tieto.com>
Mon, 30 Jun 2014 15:51:55 +0000 (17:51 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 09:57:49 +0000 (17:57 +0800)
inclSrvcInstId and inclSrvcType were in reverse order.

Change-Id: I28c1f464344af2893c1a63f72cae8d49eb7bb990

src/com/android/bluetooth/gatt/GattService.java

index 26ef18d..aea84ea 100644 (file)
@@ -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);