This commit is contained in:
yumoqing 2020-08-22 15:49:46 +08:00
parent 7d48766d29
commit c32e38cee9

View File

@ -20,7 +20,7 @@ class PhoneButton(Button):
self.disabled = True
Intent = autoclass('android.content.Intent')
Uri = autoclass('android.net.Uri')
PythonActivity = autoclass('org.renpy.android.PythonActivity')
PythonActivity = autoclass('org.kivy.android.PythonActivity')
intent = Intent(Intent.ACTION_CALL)
intent.setData(Uri.parse("tel:" + self.phone_number))
currentActivity = cast('android.app.Activity',