Handle app switching during a Web Activity handling

NEW
Unassigned

Status

Firefox OS
Gaia::System::Window Mgmt
5 years ago
4 years ago

People

(Reporter: mounir, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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.

Updated

5 years ago
Component: Gaia → Gaia::Apps Management

Updated

5 years ago
Component: Gaia::Apps Management → Gaia

Updated

5 years ago
Component: Gaia → Gaia::System

Updated

4 years ago
Component: Gaia::System → Gaia::System::Window Mgmt
You need to log in before you can comment on or make changes to this bug.