projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa9a9d0
)
test: Add support for launch browser command
author
Jeevaka Badrappan
<jeevaka.badrappan@elektrobit.com>
Fri, 14 Jan 2011 09:38:54 +0000
(11:38 +0200)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 19 Jan 2011 03:54:42 +0000
(21:54 -0600)
test/test-stk-menu
patch
|
blob
|
history
diff --git
a/test/test-stk-menu
b/test/test-stk-menu
index
673b5bc
..
85b98ca
100755
(executable)
--- a/
test/test-stk-menu
+++ b/
test/test-stk-menu
@@
-157,6
+157,19
@@
class StkAgent(dbus.service.Object):
return False
@dbus.service.method("org.ofono.SimToolkitAgent",
+ in_signature="sys", out_signature="b")
+ def ConfirmLaunchBrowser(self, info, icon, url):
+ print "Information: (%s)" % (info)
+ print "Icon: (%d)" % (icon)
+ print "URL (%s)" % (url)
+ key = raw_input("Enter Confirmation (y, n):")
+
+ if key == 'y':
+ return True
+ else:
+ return False
+
+ @dbus.service.method("org.ofono.SimToolkitAgent",
in_signature="", out_signature="")
def Cancel(self):
print "Cancel"