Fix wrong bundle context passing to listener_hook_service.
authorPengZheng <howtofly@gmail.com>
Thu, 13 Jan 2022 11:53:03 +0000 (19:53 +0800)
committerPengZheng <howtofly@gmail.com>
Thu, 13 Jan 2022 11:53:03 +0000 (19:53 +0800)
commit6d025590c6c202b595221659cb2d8102ec62c3ed
tree6c1436e63a410b443c682bc40160c5a425fd967e
parent69fd95bae0d4ffb546b405763b322662ba947379
Fix wrong bundle context passing to listener_hook_service.

The context field in struct listener_hook_info should be the corresponding service listener's owner rather than the listener_hook_service's owner.
libs/framework/gtest/src/bundle_context_services_test.cpp
libs/framework/src/service_registry.c