def remove_android_splash(self, *args): '''Remove android presplash in SDL2 bootstrap.''' try: from android import remove_presplash remove_presplash() except: Logger.error('Base: Could not remove android presplash') return
def remove_android_splash(self, *args): '''Remove android presplash in SDL2 bootstrap.''' try: from android import remove_presplash remove_presplash() except ImportError: Logger.warning('Base: Failed to import "android" module. ' 'Could not remove android presplash.') return