test: Fix SMS test script to use MessageManager interface

This commit is contained in:
Marcel Holtmann 2010-08-20 02:51:34 +02:00
parent 667c4eea84
commit 6ef3a35bb6
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ properties = manager.GetProperties()
path = properties["Modems"][0]
manager = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SmsManager')
'org.ofono.MessageManager')
if len(sys.argv) == 4:
manager.SetProperty("UseDeliveryReports",

View File

@ -20,6 +20,6 @@ else:
print "Setting delivery report use for modem %s..." % path
sms = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SmsManager')
'org.ofono.MessageManager')
sms.SetProperty("UseDeliveryReports", dbus.Boolean(enabled));