From 339ec330c10cfba484dc0d726b7f4dbe3a1718b0 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Fri, 4 May 2018 15:54:18 +0200 Subject: [PATCH] [apps] Don't SU prompt in the hardware test --- apps/apps_container.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/apps_container.cpp b/apps/apps_container.cpp index 0f0eebdc4..27f37d0d0 100644 --- a/apps/apps_container.cpp +++ b/apps/apps_container.cpp @@ -68,7 +68,7 @@ VariableBoxController * AppsContainer::variableBoxController() { void AppsContainer::suspend(bool checkIfPowerKeyReleased) { resetShiftAlphaStatus(); #if EPSILON_SOFTWARE_UPDATE_PROMPT - if (activeApp()->snapshot()!= onBoardingAppSnapshot() && GlobalPreferences::sharedGlobalPreferences()->showUpdatePopUp()) { + if (activeApp()->snapshot()!= onBoardingAppSnapshot() && activeApp()->snapshot() != hardwareTestAppSnapshot() && GlobalPreferences::sharedGlobalPreferences()->showUpdatePopUp()) { activeApp()->displayModalViewController(&m_updateController, 0.f, 0.f); } #endif