device-notifier: find existing notifier only 84/277684/2
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 12 Jul 2022 06:16:53 +0000 (15:16 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 12 Jul 2022 06:34:00 +0000 (06:34 +0000)
commitc55dd602a7f055333c4d42ab5c0af7ad53524cbf
treef8c8cb508c04430b2978f257c849ac2ddd46e34d
parentedbec70fd91d06c4f506d6bb83bd48361212d0ea
device-notifier: find existing notifier only

It only finds a notifier that has not been deleted.

Change-Id: Ica945fb57cfe09cf4c82c94e07558abe23704b32
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/shared/device-notifier.c
tests/deviced-common-private-test/test-device-notifier.c