Diff between 022a64e7a16999fb1c4e20f7810e83597e96f2de and 77a48be1129ca9dbc44fb035105cd3144ee97538

Changed Files

File Additions Deletions Status
android/client/if-bt.c +4 -0 modified

Full Patch

diff --git a/android/client/if-bt.c b/android/client/if-bt.c
index f83e148..2b9c455 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, "<addr>"),
 	STD_METHOD(start_discovery),
 	STD_METHOD(cancel_discovery),
+#if ANDROID_VERSION >= PLATFORM_VER(5, 0, 0)
+	STD_METHODCH(create_bond, "<addr> [<transport>]"),
+#else
 	STD_METHODCH(create_bond, "<addr>"),
+#endif
 	STD_METHODCH(remove_bond, "<addr>"),
 	STD_METHODCH(cancel_bond, "<addr>"),
 	STD_METHODCH(pin_reply, "<address> [<pin>]"),