Skip to content

Commit 9c30fd7

Browse files
authored
Merge pull request kivy#930 from KeyWeeUsr/remove_presplash
Add remove_presplash
2 parents 3b1186e + dbdc515 commit 9c30fd7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pythonforandroid/recipes/android/src/android/_android.pyx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,11 @@ TYPE_TEXT_VARIATION_POSTAL_ADDRESS = 112
212212
TYPE_TEXT_VARIATION_URI = 16
213213
TYPE_CLASS_PHONE = 3
214214

215+
IF BOOTSTRAP == 'sdl2':
216+
def remove_presplash():
217+
# Remove android presplash in SDL2 bootstrap.
218+
mActivity.removeLoadingScreen()
219+
215220
def show_keyboard(target, input_type):
216221
if input_type == 'text':
217222
_input_type = TYPE_CLASS_TEXT

0 commit comments

Comments
 (0)