Fix behavior of getter 72/261872/2
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 28 Jul 2021 05:22:54 +0000 (14:22 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 28 Jul 2021 05:34:22 +0000 (14:34 +0900)
commit07c41923ef9b72f16d5950fbff8cc3983a10eb61
tree9027bee83c0087184ef90c2503754afabcb1753c
parent34088ca1861fb9d40cee59d6bbfb9fdfb847af97
Fix behavior of getter

This patch is for backward compatibility. If the type of the keynode is
not matched, the function returns PREFERENCE_ERROR_INVALID_PARAMETER
error with the result.

Change-Id: I1964c02198baccf97de3738bff5ece72d6a76f53
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
preference/preference-internal.cc
preference/stub.cc
unittests/preference_unittest.cc