Closed Bug 894802 Opened 11 years ago Closed 11 years ago

[System] Status bar shows time when it is in lockscreen

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: johnhu, Assigned: gduan)

Details

Attachments

(2 files)

      No description provided.
Sorry for no description. I just press enter when it shows auto correction.

version: gaia/master
STR:
1. reboot device
2. see clock on the top-right corner. this shouldn't be that.

The bug 834542 argues about the timing to show the time in the status bar. And in bug 834542 comment 6, Josh said the following requirement:

Strong preference:
- Leave clock off default Lock screen
- Leave clock off "Enter security code" screen
- Add clock to Emergency Call screens

Bug 834542 already fixed it. But bug 864516 removed partial code of patch of bug 834542 which causes this bug.
Screenshot of this bug.

note: it only happens when device is rebooted.
Assignee: nobody → gduan
Attached file PR to master
Hi Alive,

Could you kindly help me to review my code?


This patch has done below items.

1. new method to enable timebar on status bar, which show/hide icon and start/stop timer
2. update test items for timebar display.
Attachment #778812 - Flags: review?(alive)
Comment on attachment 778812 [details]
PR to master

See github comments before you merge.
Yuren please help to broadcast your lovely sinon here.
Attachment #778812 - Flags: review?(alive)
Attachment #778812 - Flags: review+
Attachment #778812 - Flags: feedback?(yurenju.mozilla)
Comment on attachment 778812 [details]
PR to master

Replied on github.
Attachment #778812 - Flags: feedback?(yurenju.mozilla) → feedback+
Hi Alive, 

code updated, would you like to take a look again?
We still don't use sinon due to there's only one boolean I need, so I set this boolean to statusbar_test.js. And I also update the name of method as you suggested.

Thanks.
Flags: needinfo?(alive)
WFM.
Flags: needinfo?(alive)
Merge to master.
https://github.com/mozilla-b2g/gaia/commit/a91ba72a035361afaa8c3b3eb932182cc2358e5d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: