Closed
Bug 1072143
Opened 10 years ago
Closed 10 years ago
[LockScreen] Add |transferOut| method in LockScreenStateManager
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gweng, Assigned: gweng)
References
Details
Attachments
(1 file)
In Bug 1062549 we've found the state machine now lacks the method for transferring out from a specific state. This should be implemented to avoid duplicately put code in each state.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → gweng
Assignee | ||
Comment 1•10 years ago
|
||
Add the method first, and I think we can fire another bug to use it.
Attachment #8500846 -
Flags: review?(timdream)
Comment 2•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch We need to work on better testing strategy of the promise chain. Let's talk about this on Monday, thanks!
Attachment #8500846 -
Flags: review?(timdream)
Assignee | ||
Comment 3•10 years ago
|
||
We need this to add the proper fix for Bug 1075389.
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch Updated according to reviewing opinions.
Attachment #8500846 -
Flags: review?(timdream)
Comment 5•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch Please address the reivew comments.
Attachment #8500846 -
Flags: review?(timdream)
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch Updated and set review again, thanks.
Attachment #8500846 -
Flags: review?(timdream)
Updated•10 years ago
|
Attachment #8500846 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Gaia-Try is green: https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=f356bc976c1e
Assignee | ||
Comment 8•10 years ago
|
||
I have found some visual regression would happen when you power off/on it transiently. Discussed with Tim and eased it, but there is still some issue need to be solved. One left issue is although I can cancel all animation while sleep the screen, the animation still need some very short time to perform, so if user turn it on/off/on quickly there would be some delayed step show the panel at the previous position. A possible solution is to keep the screen slept before the animation done. But I don't know from our current code flow how to do that without too much modification, especially I don't want to change any code in screen manager for this patch...
Assignee | ||
Comment 9•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch Since I fix the regression, set review again.
Attachment #8500846 -
Flags: review+ → review?(timdream)
Comment 10•10 years ago
|
||
Comment on attachment 8500846 [details] [review] Patch Sorry for the delay. Let's figure out what to move to the transferOut functions in next patches.
Attachment #8500846 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 11•10 years ago
|
||
It only failed at Gaia build test (which is totally irrelevant and it's timeout issue): https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=d7d08b4ed294 So I would land this patch.
Assignee | ||
Comment 12•10 years ago
|
||
master: https://github.com/mozilla-b2g/gaia/commit/b59c013f706e6fd68af2f24b3077497293f66d88 Hope it would not be backed out.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•