Closed Bug 799431 Opened 12 years ago Closed 6 years ago

Handle app switching during a Web Activity handling

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mounir, Unassigned)

Details

If the app in the foreground is handling a Web Activity, we should have a behaviour regarding app switching. Doing so can break the activity flow (if app A launches B for an activity and the users goes back to A, what should we do?) but also can creates bug (as soon as an app isn't in foreground, it can be killed).

My suggestion would be to do:
- if an activity should return a value, as soon as it is no longer in foreground, the activity should be cancelled and the system app will have to fire an error event;
- if an activity doesn't return a value, we should have sent a success event when the app is started, so we don't need any special behaviour.
Component: Gaia → Gaia::Apps Management
Component: Gaia::Apps Management → Gaia
Component: Gaia → Gaia::System
Component: Gaia::System → Gaia::System::Window Mgmt
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.