From 77a48be1129ca9dbc44fb035105cd3144ee97538 Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 12 Nov 2014 11:09:21 +0200 Subject: [PATCH] android/client: Fix help for bt_create_bond command --- android/client/if-bt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/client/if-bt.c b/android/client/if-bt.c index f83e148f3..2b9c455d5 100644 --- a/android/client/if-bt.c +++ b/android/client/if-bt.c @@ -876,7 +876,11 @@ static struct method methods[] = { STD_METHODCH(get_remote_services, ""), STD_METHOD(start_discovery), STD_METHOD(cancel_discovery), +#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0) + STD_METHODCH(create_bond, " []"), +#else STD_METHODCH(create_bond, ""), +#endif STD_METHODCH(remove_bond, ""), STD_METHODCH(cancel_bond, ""), STD_METHODCH(pin_reply, "
[]"), -- 2.47.3