summaryrefslogtreecommitdiffstats
path: root/test/set-mic-volume
diff options
context:
space:
mode:
Diffstat (limited to 'test/set-mic-volume')
-rwxr-xr-xtest/set-mic-volume5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/set-mic-volume b/test/set-mic-volume
index 16922093..e0bff494 100755
--- a/test/set-mic-volume
+++ b/test/set-mic-volume
@@ -8,9 +8,8 @@ bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
'org.ofono.Manager')
-properties = manager.GetProperties()
-
-path = properties["Modems"][0]
+modems = manager.GetModems()
+path = modems[0][0]
cv = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.CallVolume')