mirror of git://git.sysmocom.de/ofono
test: Add support for DisplayActionInformation
This commit is contained in:
parent
ce6a3ad264
commit
87494fb940
|
@ -192,6 +192,12 @@ class StkAgent(dbus.service.Object):
|
||||||
if key == 't':
|
if key == 't':
|
||||||
raise EndSession("User wishes to terminate session");
|
raise EndSession("User wishes to terminate session");
|
||||||
|
|
||||||
|
@dbus.service.method("org.ofono.SimToolkitAgent",
|
||||||
|
in_signature="sy", out_signature="")
|
||||||
|
def DisplayActionInformation(self, text, icon):
|
||||||
|
print "Text: %s" % (text)
|
||||||
|
print "Icon: %d" % (icon)
|
||||||
|
|
||||||
def property_changed(name, value):
|
def property_changed(name, value):
|
||||||
print "SimToolKit property: %s changed to '%s'" % (name, value)
|
print "SimToolKit property: %s changed to '%s'" % (name, value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue