From: SeungWon Lee Date: Mon, 8 Jul 2013 07:58:30 +0000 (+0900) Subject: Bug fix on SetAnimationType range checking error. X-Git-Tag: submit/tizen_2.2/20130714.153149~92 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11eff55e701467ea029ec69f57665ca23547361b;p=framework%2Fosp%2Fuifw.git Bug fix on SetAnimationType range checking error. Change-Id: If259bb92d5fd90005fcbe6081746190155ebc980 Signed-off-by: SeungWon Lee --- diff --git a/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp b/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp index 6dae57b..35faafe 100644 --- a/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp +++ b/src/ui/scenes/FUiScenes_SceneTransitionImpl.cpp @@ -141,7 +141,7 @@ _SceneTransitionImpl::GetDestinationSceneId(void) const result _SceneTransitionImpl::SetAnimationType(SceneTransitionAnimationType animationType) { - SysTryReturnResult(NID_UI_SCENES, (SCENE_TRANSITION_ANIMATION_TYPE_LEFT <= animationType && + SysTryReturnResult(NID_UI_SCENES, (SCENE_TRANSITION_ANIMATION_TYPE_NONE <= animationType && animationType <= SCENE_TRANSITION_ANIMATION_TYPE_DEPTH_OUT), E_INVALID_ARG, "Invalid argument is used."); __animationType = animationType;