mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-27 15:31:31 +00:00
kivy:android:check for intent on activity start
This commit is contained in:
parent
cb8d504c42
commit
b1b1cf4c66
1 changed files with 4 additions and 0 deletions
|
@ -354,6 +354,10 @@ class ElectrumWindow(App):
|
||||||
# bind intent for bitcoin: URI scheme
|
# bind intent for bitcoin: URI scheme
|
||||||
if platform == 'android':
|
if platform == 'android':
|
||||||
from android import activity
|
from android import activity
|
||||||
|
from jnius import autoclass
|
||||||
|
PythonActivity = autoclass('org.renpy.android.PythonActivity')
|
||||||
|
mactivity = PythonActivity.mActivity
|
||||||
|
self.on_new_intent(mactivity.getIntent())
|
||||||
activity.bind(on_new_intent=self.on_new_intent)
|
activity.bind(on_new_intent=self.on_new_intent)
|
||||||
|
|
||||||
# URI passed in config
|
# URI passed in config
|
||||||
|
|
Loading…
Add table
Reference in a new issue