File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ def get_activity_class_name():
1111 if not ACTIVITY_CLASS_NAME :
1212 try :
1313 from android import config
14- ACTIVITY_CLASS_NAME = getattr ( config , " JAVA_NAMESPACE" , None )
14+ ACTIVITY_CLASS_NAME = config . JAVA_NAMESPACE
1515 except (ImportError , AttributeError ):
1616 ACTIVITY_CLASS_NAME = 'org.kivy.android'
1717 return ACTIVITY_CLASS_NAME
@@ -139,7 +139,7 @@ def app_storage_path():
139139 return os .path .join (context .getFilesDir ().getAbsolutePath (), 'flet' )
140140 else :
141141 try :
142- from android .storage import app_storage_path # type: ignore
143- return app_storage_path ()
142+ from android .storage import app_storage_path as kivy_app_storage_path # type: ignore
143+ return kivy_app_storage_path ()
144144 except Exception as e :
145145 return './' # TODO return file main.py path (not android)
You can’t perform that action at this time.
0 commit comments