[PROTO] audio status value
authorVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 2 Dec 2013 09:50:31 +0000 (13:50 +0400)
committerVitaliy Cherepanov <v.cherepanov@samsung.com>
Mon, 2 Dec 2013 10:13:45 +0000 (14:13 +0400)
0 - not in use
1 - in use

Change-Id: I389999813aedd2f13e78e2d3e4cd9261785327f9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
daemon/sys_stat.c

index 31b849a..5ca6f6a 100644 (file)
@@ -401,7 +401,7 @@ static int get_audio_status()
                audio_state = 0;
        }
 
-       return audio_state;
+       return !!audio_state;
 }
 
 static int get_vibration_status()