[Call] Fix LCD off issue in proximity sensor 98/71698/2
authorIgor Olshevskyi <i.olshevskyi@samsung.com>
Thu, 26 May 2016 14:42:46 +0000 (17:42 +0300)
committerIgor Olshevskyi <i.olshevskyi@samsung.com>
Mon, 30 May 2016 13:49:24 +0000 (06:49 -0700)
Change-Id: I1dc24c498befe05b89c88cc242a1c7832363623f

src/callui-proximity-lock-manager.c

index 6a3993d..3d50f6e 100644 (file)
@@ -137,7 +137,7 @@ static void __callui_proximity_lock_manager_cb(sensor_h sensor, sensor_event_s *
        } else {
                callui_display_control_e state;
                if (_callui_display_get_control_state(ad->display, &state) == CALLUI_RESULT_OK &&
-                               CALLUI_DISPLAY_OFF == state) {
+                               CALLUI_DISPLAY_ON == state) {
                        _callui_display_set_control_state(ad->display, CALLUI_DISPLAY_OFF);
                        proximity_h->state = CALLUI_PLM_LCD_OFF;
                }