Closed Bug 1056364 Opened 10 years ago Closed 10 years ago

Homescreen disappears after unlocking phone with screen reader

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Keywords: access, Whiteboard: [b2ga11y p=1])

Attachments

(1 file)

This seems to be a race condition:
1. We receive 'lockscreen-request-unlock' and reset the non-existent timeout.
2. visible-audio-channel-changed changes to the 'none' channel (sees lockscreen active state as true).
3. lwm_closeApp close app is called (and sets active state to false).
4. In a 3 second delay set in step 2, we fire 'hidewindow' and hide the active app (ie. homescreen).

The easiest way I see fixing this is checking if the lockscreen is active before firing 'hidewindow'.
Assignee: nobody → eitan
Whiteboard: [b2ga11y p=1]
Comment on attachment 8476301 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/23111

r=me
Attachment #8476301 - Flags: review?(alive) → review+
https://github.com/mozilla-b2g/gaia/commit/18a8ed6597fe921cd89ec889ba06126840f8eb2c
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.

Attachment

General

Created:
Updated:
Size: