device-notifier: add priority to device-notifier 70/268970/5
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 5 Jan 2022 09:45:12 +0000 (18:45 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 5 Jan 2022 12:34:10 +0000 (21:34 +0900)
commit5b0fb32a5c063b817794756160b4c28a06734aa8
tree0a46ab7fa467974d4e0578f97ea68fc9b4ef80b3
parentb3036eb10b5d5ec1820ff9b5e619a1081e629197
device-notifier: add priority to device-notifier

The priority is sorted in descending order, therefore the higher
a priority is, the earlier it is invoked compared to the lower one.

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