mirror of git://git.sysmocom.de/ofono
test: Update get-icon to the new API
This commit is contained in:
parent
ccf4b34522
commit
30a3c5a4ab
|
@ -24,4 +24,8 @@ sim = dbus.Interface(bus.get_object('org.ofono', path),
|
|||
'org.ofono.SimManager')
|
||||
|
||||
icon = sim.GetIcon(dbus.Byte(int(sys.argv[1])))
|
||||
print icon
|
||||
|
||||
xpm = ""
|
||||
for byte in icon:
|
||||
xpm += str(byte)
|
||||
print xpm
|
||||
|
|
Loading…
Reference in New Issue