test: Add support for DisplayActionInformation

This commit is contained in:
Jeevaka Badrappan 2011-01-26 14:38:08 +02:00 committed by Marcel Holtmann
parent ce6a3ad264
commit 87494fb940
1 changed files with 6 additions and 0 deletions

View File

@ -192,6 +192,12 @@ class StkAgent(dbus.service.Object):
if key == 't':
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):
print "SimToolKit property: %s changed to '%s'" % (name, value)