* [PATCH 1/2] android/haltest: Use Android system headers instead of local
@ 2013-10-31 8:37 Andrei Emeltchenko
2013-10-31 8:37 ` [PATCH 2/2] android/haltest: Fix bug when building for Android 4.2.2 Andrei Emeltchenko
2013-10-31 8:53 ` [PATCH 1/2] android/haltest: Use Android system headers instead of local Johan Hedberg
0 siblings, 2 replies; 3+ messages in thread
From: Andrei Emeltchenko @ 2013-10-31 8:37 UTC (permalink / raw)
To: linux-bluetooth
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
---
android/Android.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/android/Android.mk b/android/Android.mk
index 3c4a825..e47f4a9 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -121,6 +121,10 @@ LOCAL_SRC_FILES := \
client/if-pan.c \
client/if-sock.c \
+LOCAL_C_INCLUDES += \
+ $(call include-path-for, system-core) \
+ $(call include-path-for, libhardware) \
+
LOCAL_CFLAGS := $(BLUEZ_COMMON_CFLAGS)
LOCAL_SHARED_LIBRARIES := libhardware
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] android/haltest: Fix bug when building for Android 4.2.2
2013-10-31 8:37 [PATCH 1/2] android/haltest: Use Android system headers instead of local Andrei Emeltchenko
@ 2013-10-31 8:37 ` Andrei Emeltchenko
2013-10-31 8:53 ` [PATCH 1/2] android/haltest: Use Android system headers instead of local Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Andrei Emeltchenko @ 2013-10-31 8:37 UTC (permalink / raw)
To: linux-bluetooth
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Since I started to use system Android headers instead of local this
bug was found.
---
android/client/if-bt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index cbb828b..f1410f7 100644
--- a/android/client/if-bt.c
+++ b/android/client/if-bt.c
@@ -679,10 +679,10 @@ static void get_profile_interface_c(int argc, const char **argv,
BT_PROFILE_SOCKETS_ID,
BT_PROFILE_HIDHOST_ID,
BT_PROFILE_PAN_ID,
-#if PLATFORM_SDK_VERSION >= 18
+#if PLATFORM_SDK_VERSION > 17
BT_PROFILE_GATT_ID,
-#endif
BT_PROFILE_AV_RC_ID,
+#endif
NULL
};
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] android/haltest: Use Android system headers instead of local
2013-10-31 8:37 [PATCH 1/2] android/haltest: Use Android system headers instead of local Andrei Emeltchenko
2013-10-31 8:37 ` [PATCH 2/2] android/haltest: Fix bug when building for Android 4.2.2 Andrei Emeltchenko
@ 2013-10-31 8:53 ` Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2013-10-31 8:53 UTC (permalink / raw)
To: Andrei Emeltchenko; +Cc: linux-bluetooth
Hi Andrei,
On Thu, Oct 31, 2013, Andrei Emeltchenko wrote:
> ---
> android/Android.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Both patches have been applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-31 8:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-31 8:37 [PATCH 1/2] android/haltest: Use Android system headers instead of local Andrei Emeltchenko
2013-10-31 8:37 ` [PATCH 2/2] android/haltest: Fix bug when building for Android 4.2.2 Andrei Emeltchenko
2013-10-31 8:53 ` [PATCH 1/2] android/haltest: Use Android system headers instead of local Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox