[escher] Only one app is on the heap at one time

Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
This commit is contained in:
Émilie Feral
2017-05-16 17:02:06 +02:00
parent e9b2717b17
commit 06de0dd9db
38 changed files with 414 additions and 212 deletions

View File

@@ -60,7 +60,7 @@ bool SubController::handleEvent(Ion::Events::Event event) {
* clicking on '6' on the serial number row. */
if (event == Ion::Events::Six && m_nodeModel->label() == I18n::Message::About && selectedRow() == 1) {
AppsContainer * appsContainer = (AppsContainer *)app()->container();
appsContainer->switchTo(appsContainer->hardwareTestApp());
appsContainer->switchTo(appsContainer->hardwareTestAppDescriptor());
return true;
}
if (event == Ion::Events::OK || event == Ion::Events::EXE) {