From 72a38a8478128567f1d096f340bb63eb8f688f85 Mon Sep 17 00:00:00 2001 From: Viktor Govako Date: Sat, 25 Feb 2023 21:48:36 -0300 Subject: [PATCH] [android] Removed enter background ASSERT. Signed-off-by: Viktor Govako --- platform/settings.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/settings.cpp b/platform/settings.cpp index 35d8135d88..abd908c15b 100644 --- a/platform/settings.cpp +++ b/platform/settings.cpp @@ -401,9 +401,8 @@ void UsageStats::EnterBackground() if (currTime < m_enterForegroundTime) return; - // Safe check if uninitialized. Not sure, but possible if foreground/background calls - // are not sequential during activity initialization. - ASSERT(m_enterForegroundTime > 0, ()); + // Safe check if uninitialized. Possible when entering background on DownloadResourcesLegacyActivity. + //ASSERT(m_enterForegroundTime > 0, ()); if (m_enterForegroundTime == 0) return;