Closed Bug 1072166 Opened 10 years ago Closed 10 years ago

[LockScreen] Mapping state changing to signal edge style events

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1101418

People

(Reporter: gweng, Assigned: gweng)

Details

Current there are two kinds of input of the state machine:

1. Event
2. State

For instance, the 'homepress' is event, and 'passcode on' and 'passcode off' is state . Current implementation would bind these two kinds of input as the transferring input. But as Tim and I discussed, if we split more states, and map the inner state changing to some specific State, we can eliminate the requirements of keeping these inner states:

Old:

---- slide to end --- depends on passcode on off ( SlideUnlock | ShowPasspad )

New:

---- passcode on -> PasscodeOn ---- slide to end ---- SlideToPasscode
----------------------------------- slide to end ---- SlideToUnlock

In the above diagram, we split the original state into two, while the first one can avoid to do the decision relying on the inner state. This is better, but require us to make some changes.
Assignee: nobody → gweng
Bug 1101418 would provide what we want.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.