mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 17:50:04 +01:00
[escher] Only one app is on the heap at one time
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
This commit is contained in:
@@ -16,7 +16,9 @@ bool UpdateController::handleEvent(Ion::Events::Event event) {
|
||||
if (event != Ion::Events::Back) {
|
||||
app()->dismissModalViewController();
|
||||
AppsContainer * appsContainer = (AppsContainer *)app()->container();
|
||||
appsContainer->switchTo(appsContainer->appAtIndex(0));
|
||||
if (appsContainer->activeApp()->descriptor() == appsContainer->onBoardingAppDescriptor()) {
|
||||
appsContainer->switchTo(appsContainer->appDescriptorAtIndex(0));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user