Add a retrying logic for loading appinfo 62/277562/6
authorChanggyu Choi <changyu.choi@samsung.com>
Fri, 8 Jul 2022 07:30:04 +0000 (16:30 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Mon, 11 Jul 2022 05:12:08 +0000 (14:12 +0900)
commit9215f8ef55559c2e51209a6a4424b616c9e0ce1b
tree2e74cdabe5537000701b9ba866e38fa90e703ff9
parentf1c506e0dc44b9264aca25d0de0b29335cc038ba
Add a retrying logic for loading appinfo

If calling pkgmgrinfo_appinfo_get_usr_installed_list_full() is failed,
AMD adds a timer to retry loading appinfo. The interval of the timer is
5 seconds. The maximum retrying number is 20. If it exceeds the maximum count,
AMD terminates itself.

Change-Id: Ie1291737f68c1d24928e132c2b774360bafb150a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
src/lib/amd_appinfo.c