view: Handle return value 22/175222/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.011922 accepted/tizen/unified/20180416.213929 submit/tizen/20180409.102824 submit/tizen/20180416.062651 submit/tizen/20180416.063020 submit/tizen/20180416.063143 submit/tizen_5.0/20181101.000001
authorLukasz Stanislawski <l.stanislaws@samsung.com>
Mon, 9 Apr 2018 09:53:26 +0000 (11:53 +0200)
committerLukasz Stanislawski <l.stanislaws@samsung.com>
Mon, 9 Apr 2018 09:54:55 +0000 (11:54 +0200)
Fixes CID 106049

Change-Id: Id97ad6e48e84099dccfa2f077d26ad881c90f74a

src/view.c

index f35f519..bd516d4 100755 (executable)
@@ -552,7 +552,8 @@ static void _down_for_hide(void *data, Evas_Object *obj, const char* emission, c
 {
        _D("Down for HIDE");
 
-       volume_control_hide_view();
+       if (VOLUME_ERROR_OK != volume_control_hide_view())
+               _E("Failed to close volume");
 }
 
 volume_error_e volume_view_layout_create(Evas_Object *win)