From 372dbbfb7f39e9f0d3b875a337aec7955fb170ff Mon Sep 17 00:00:00 2001 From: Vitaliy Cherepanov Date: Mon, 2 Dec 2013 13:50:31 +0400 Subject: [PATCH] [PROTO] audio status value 0 - not in use 1 - in use Change-Id: I389999813aedd2f13e78e2d3e4cd9261785327f9 Signed-off-by: Vitaliy Cherepanov --- daemon/sys_stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/sys_stat.c b/daemon/sys_stat.c index 31b849a..5ca6f6a 100644 --- a/daemon/sys_stat.c +++ b/daemon/sys_stat.c @@ -401,7 +401,7 @@ static int get_audio_status() audio_state = 0; } - return audio_state; + return !!audio_state; } static int get_vibration_status() -- 2.7.4