Closed Bug 1131964 Opened 10 years ago Closed 10 years ago

NFC may not notify focus lost when setNFCFocus(false) on a non-focus app

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID
2.2 S6 (20feb)

People

(Reporter: dimi, Assigned: dimi)

References

Details

Attachments

(1 file)

According to Alive's comment in bug 1129841, setNFCFocus(false) may not be called when focus is change from one app to another. In current implementation, if GAIA call setNFCFocus(true) twice, the second call will cause gecko notify focus lost. Gecko should handle this case.
My comment in description is incorrect, we already handle this case. What we doesn't handle is related Alive's comment 10 in bug 1129841 about setNFCFocus(false) may happen "after" setNFCFocus(true) to current top-most app.
Summary: NFC may notify focus lost when setNFCFocus(true) → NFC may not notify focus lost when setNFCFocus(false) on a non-focus app
Attached patch PatchSplinter Review
Attachment #8563263 - Flags: review?(allstars.chh)
After check with yoshi, i think we don't have this issue. Close this bug
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: