2014-11-05 14:39:14

by Lukasz Rymanowski

[permalink] [raw]
Subject: [PATCH] android/client: Print number on query current calls in hf-client

---
android/client/if-hf-client.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/android/client/if-hf-client.c b/android/client/if-hf-client.c
index c383cab..3f6f7c2 100644
--- a/android/client/if-hf-client.c
+++ b/android/client/if-hf-client.c
@@ -312,6 +312,9 @@ static void hf_client_current_calls_callback(int index,
bthf_client_call_direction_t2str(dir),
bthf_client_call_state_t2str(state),
bthf_client_call_mpty_type_t2str(mpty));
+
+ if (number)
+ haltest_info("%s: number=%s\n", __func__, number);
}

/* Callback for audio volume change */
--
1.8.4



2014-11-05 20:55:35

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android/client: Print number on query current calls in hf-client

Hi Ɓukasz,

On Wednesday 05 of November 2014 15:39:14 Lukasz Rymanowski wrote:
> ---
> android/client/if-hf-client.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/android/client/if-hf-client.c b/android/client/if-hf-client.c
> index c383cab..3f6f7c2 100644
> --- a/android/client/if-hf-client.c
> +++ b/android/client/if-hf-client.c
> @@ -312,6 +312,9 @@ static void hf_client_current_calls_callback(int index,
> bthf_client_call_direction_t2str(dir),
> bthf_client_call_state_t2str(state),
> bthf_client_call_mpty_type_t2str(mpty));
> +
> + if (number)
> + haltest_info("%s: number=%s\n", __func__, number);
> }
>
> /* Callback for audio volume change */

Applied, thanks.

--
BR
Szymon Janc