Fix the problem of not getting the dev_list 25/306325/3
authorJiyong <jiyong.min@samsung.com>
Tue, 20 Feb 2024 06:43:42 +0000 (15:43 +0900)
committerJiyong <jiyong.min@samsung.com>
Wed, 21 Feb 2024 01:57:27 +0000 (10:57 +0900)
commitc6d35cce71c91d4dfc54d1dd2eb764d00c02e725
tree95a8d1ca57e750261c6d11e9a02b179e98f84142
parentb6207e3762b95a4a99e5bfaf06d39720c7e29e36
Fix the problem of not getting the dev_list

- The format of 'reply_var' is tuple, "(a(issssssisibii))".
  The 'iter' is initialized for tuple by g_variant_iter_init(&iter, reply_var).
  Thus, the 'iter' could not iterate the array.
  So g_variant_get_child_value() is added to get devices(array) from tuple.

Change-Id: Iae074445f4105342ec1b9347e2d4b240cd6b39ab
src/common/media-common-system.c