comparison cagou/core/platform_/base.py @ 372:1481f09c9175

settings (android): don't expose autoconnect parameters: autoconnection parameters are used on Android to reconnect automatically any profile connected, so we use the new `extra` parameter to ignore them, avoiding an accidental change by the user which would be confusing.
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:08 +0100
parents 1a12bbd80943
children 9ef01266e3fe
comparison
equal deleted inserted replaced
371:080b6cc17f53 372:1481f09c9175
67 def on_key_back_share(self, share_widget): 67 def on_key_back_share(self, share_widget):
68 """Back key is called while being on share widget""" 68 """Back key is called while being on share widget"""
69 share_widget.close() 69 share_widget.close()
70 return True 70 return True
71 71
72 def updateParamsExtra(self, extra):
73 pass
74
72 def open_url(self, url, wid=None): 75 def open_url(self, url, wid=None):
73 """Open an URL in the way appropriate for the platform 76 """Open an URL in the way appropriate for the platform
74 77
75 @param url(str): URL to open 78 @param url(str): URL to open
76 @param wid(CagouWidget, None): widget requesting the opening 79 @param wid(CagouWidget, None): widget requesting the opening