bugfix
This commit is contained in:
parent
7d48766d29
commit
c32e38cee9
@ -20,7 +20,7 @@ class PhoneButton(Button):
|
|||||||
self.disabled = True
|
self.disabled = True
|
||||||
Intent = autoclass('android.content.Intent')
|
Intent = autoclass('android.content.Intent')
|
||||||
Uri = autoclass('android.net.Uri')
|
Uri = autoclass('android.net.Uri')
|
||||||
PythonActivity = autoclass('org.renpy.android.PythonActivity')
|
PythonActivity = autoclass('org.kivy.android.PythonActivity')
|
||||||
intent = Intent(Intent.ACTION_CALL)
|
intent = Intent(Intent.ACTION_CALL)
|
||||||
intent.setData(Uri.parse("tel:" + self.phone_number))
|
intent.setData(Uri.parse("tel:" + self.phone_number))
|
||||||
currentActivity = cast('android.app.Activity',
|
currentActivity = cast('android.app.Activity',
|
||||||
|
Loading…
Reference in New Issue
Block a user