diff --git a/mapadroid/ocr/screenPath.py b/mapadroid/ocr/screenPath.py index f592d4b73..1aa35f5ad 100644 --- a/mapadroid/ocr/screenPath.py +++ b/mapadroid/ocr/screenPath.py @@ -419,7 +419,7 @@ async def __handle_google_login(self, screentype) -> ScreenType: usernames_to_check_for: List[str] = usernames.split(",") if await self.parse_ggl(await self._communicator.uiautomator(), usernames_to_check_for): logger.info("Sleeping 50 seconds after clicking the account to login with - please wait!") - await asyncio.sleep(50) + await asyncio.sleep(120) await self._communicator.passthrough( "su -c 'am broadcast -a com.mad.pogodroid.SET_INTENTIONAL_STOP -c android.intent.category.DEFAULT -n com.mad.pogodroid/.IntentionalStopSetterReceiver --ez value false'") await asyncio.sleep(5) @@ -519,7 +519,7 @@ async def __handle_ptc_login(self) -> ScreenType: if accept_x and accept_y: await self._communicator.click(accept_x, accept_y) logger.info("Clicking Log In and sleeping 50 seconds - please wait!") - await asyncio.sleep(50) + await asyncio.sleep(120) # Start pogodroid service again to make sure we are running PD properly here await self._communicator.passthrough( "su -c 'am broadcast -a com.mad.pogodroid.SET_INTENTIONAL_STOP -c android.intent.category.DEFAULT -n com.mad.pogodroid/.IntentionalStopSetterReceiver --ez value false'")