keyrouter: Fix wrong return value 03/278203/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 3 Jun 2022 09:05:12 +0000 (18:05 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:58:47 +0000 (14:58 +0900)
commitf090d9ed2f37041cf3d7497a567d1ae7e509b611
treef80900eff877f4530595a4fd63f9ab817483fbdc
parent99694de50a487cdf41eef2c4544719b5b3f74d68
keyrouter: Fix wrong return value

According to implementation of pepper keyrouter which is a reference of
libds keyrouter, keyrouter_grab_check_grabbed() is supposed to return
true if a list of MODE_EXCLUSIVE is not empty.

This error seems to have been introduced by mistake during the
migration from pepper.

Change-Id: Ibc0d35bb4b7ba2c6381c248ddc0c861c83f6c8c1
src/libds-tizen/keyrouter/keyrouter_grab.c