Closed
Bug 1033135
Opened 9 years ago
Closed 9 years ago
[System] Hide SIM pin dialog if the screen unlock into Camera app
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gweng, Assigned: gweng)
References
Details
Attachments
(1 file)
Since I changed the 'will-unlock' event to 'lockscreen-appclosing' event, the later one now bring no 'detail' like 'areaCamera', which the SIM pin dialog now rely on it, so there may be a regression. Alive suggested me that to handle the case in 'appopened' section, and to see if the new app is relevant to SIM card. If not, hide the dialog.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gweng
Assignee | ||
Comment 1•9 years ago
|
||
See: https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/sim_lock.js#L103
Assignee | ||
Comment 2•9 years ago
|
||
We have discussed this offline: LockScreenWindowManager would trigger another event for those need to know what the next app is (for example, Camera in this case). So other components needn't know it can still listen to the original 'lockscreen-appclosing' event, and the components need to know it can turn to listen the new event. I prefer to call this event as 'lockscreen-request-launch' or something like that.
Assignee | ||
Comment 3•9 years ago
|
||
UPDATE: Current path: User -> (drag) -> lockscreen-request-unlock (detail: camera or null) -> LWM -> close/activity close So we can change the listener to listen the request-unlock event to solve this.
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8449923 -
Flags: review?(alive)
Comment 5•9 years ago
|
||
Comment on attachment 8449923 [details] [review] Patch r=me if LWM has test
Attachment #8449923 -
Flags: review?(alive) → review+
Assignee | ||
Comment 6•9 years ago
|
||
TBPL is okay expect intermittent mochi tests: https://tbpl.mozilla.org/?rev=28ff74aefaf9d70ed4619b70ed78064f26e9b497&tree=Gaia-Try
Assignee | ||
Comment 7•9 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/63976fb67d9785b200f035c36ba14f041bbaeaa6
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•