From c32e38cee9a967a8ec10a9260d7b91a9a0b11ab7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sat, 22 Aug 2020 15:49:46 +0800 Subject: [PATCH] bugfix --- kivyblocks/widgetExt/phonebutton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kivyblocks/widgetExt/phonebutton.py b/kivyblocks/widgetExt/phonebutton.py index 3922c8e..a836ad5 100644 --- a/kivyblocks/widgetExt/phonebutton.py +++ b/kivyblocks/widgetExt/phonebutton.py @@ -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',