Add focus indicator only when attaching physicalkeyboard 19/99819/3
authorminho.sun <minho.sun@samsung.com>
Thu, 24 Nov 2016 07:35:37 +0000 (16:35 +0900)
committerRichard Huang <r.huang@samsung.com>
Thu, 24 Nov 2016 13:27:46 +0000 (05:27 -0800)
commit9cb232d3175473cbdcb4729432678bd2e0160007
tree6ff683c08886559dc9717817048d0d6c16242fc8
parent4107c0f5ea45cd9e4e61d30c30e99de0e00287fc
Add focus indicator only when attaching physicalkeyboard

Add focus indicator only when attaching physicalkeyboard.

When user wants to preset focus actor before physicalkeyboard is attached,
they can call SetCurrentFocus().

Before this patch, it always displays focus indicator whether
pyhisicalkeyboard is attached or not.

Now, if pyhisicalkeyboard is not attached, SetCurrentFocus() dosen't
add focus indicator to focus actor.

Change-Id: Iab67127a1079b724f68ab44683684cc06360d82c
Signed-off-by: minho.sun <minho.sun@samsung.com>
dali-toolkit/internal/focus-manager/keyboard-focus-manager-impl.cpp