Skip to contentSkip to conversation

To fix the test agent quit issue when execute play-tone command of stk

PATCH In review Zhigang Li 2 participants 2 messages Dec 2, 2010

lore
Share & tools
lore

Zhigang Li

author
#0 lore raw

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
index 916a527..456a522 100755
@@ -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
#1 lore raw
Quoted 4 lines · Zhigang Li
---
 test/test-stk-menu |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

Patch has been applied, thanks.

Regards,
-Denis