To fix the test agent quit issue when execute play-tone command of stk
PATCH 1/1 To fix the test agent quit issue when execute play-tone command of stk
--- test/test-stk-menu | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
test/test-stk-menu +12 -0
@@ -138,6 +138,18 @@ class StkAgent(dbus.service.Object): def Cancel(self): print "Cancel" + @dbus.service.method("org.ofono.SimToolkitAgent", + in_signature="ssy", out_signature="") + + def PlayTone(self, tone, text, icon): + print "playtone is %s" % (tone) + + @dbus.service.method("org.ofono.SimToolkitAgent", + in_signature="ssy", out_signature="") + + def LoopTone(self, tone, text, icon): + print "the loop tone is %s" % (tone) + if __name__ == '__main__': dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
Signature · 1 line
1.6.5.2
Quoted 4 lines · Zhigang Li
--- test/test-stk-menu | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
Patch has been applied, thanks.
Regards,
-Denis