Use TLS variable for getting status 46/301446/1
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 16 Nov 2023 03:50:42 +0000 (12:50 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 16 Nov 2023 03:50:42 +0000 (12:50 +0900)
commit450c1355f13cf31c1919d959d22ba8a8a6507ddb
treeebe0a8638181568372d8ab8cf3e74ca3d8d92b08
parent27785525e76c6da6aa141713db7f1649a42cae5c
Use TLS variable for getting status

If the aul_app_info_iter_fn callback function is called while calling
getting status API, aul library tries to get the status from the current
aul_app_info.

Change-Id: I26b60a9b81d9def74abe66234c9de726983344ce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/pkginfo.cc
src/pkginfo_internal.h
src/status.cc