Remove exception in ViewWrapperImpl::GetNextKeyboardFocusableActor 38/245938/2
authorJiyun Yang <ji.yang@samsung.com>
Tue, 20 Oct 2020 07:19:43 +0000 (16:19 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Wed, 21 Oct 2020 02:55:30 +0000 (11:55 +0900)
commit4108b2ec91a6520397da71b4898ed9bf38085e3b
tree54bfcb2527d8bab7d8c982427fad72003ba11b40
parent1152830087472e20d799610f944ff4a5a29e0786
Remove exception in ViewWrapperImpl::GetNextKeyboardFocusableActor

In NUI, it is not normal to create an empty handle.
Because all class instance is a reference type in C#, it is way natural to return null
instead an empty handle when the developer want to specify no actor can be focused
in GetNextKeyboardFocusableActor().

So the binding code should handle null for the return value of GetNextKeyboardFocusableActor(),
and not throwing an exception for this.

Change-Id: Ie12af44277743adea63bc45cfa8158bc6d4bce18
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali-csharp-binder/src/view-wrapper-impl-wrap.cpp