Closed Bug 1111472 Opened 9 years ago Closed 9 years ago

[Stingray][Home] Same card should not be pinned twice in Home app

Categories

(Firefox OS Graveyard :: Gaia::TV::Home, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dwi2, Assigned: dwi2)

References

Details

(Whiteboard: [ft:conndevices])

Attachments

(1 file)

Each card should have at most one instance on card list in Home app.
Assignee: nobody → tzhuang
Status: NEW → ASSIGNED
Component: Gaia → Gaia::TV::Home
Comment on attachment 8568459 [details] [review]
[gaia] dwi2:bug1111472 > mozilla-b2g:master

Hi Rex,

Please help to review the patch. This patch prevents same card from being inserted twice.
Attachment #8568459 - Flags: review?(rexboy)
Comment on attachment 8568459 [details] [review]
[gaia] dwi2:bug1111472 > mozilla-b2g:master

r=me. Thanks for fixing this.

Notice that card_manager shouldn't run into this case under usual use since apps who want to add a card should check if the card is already exist (and show unpin if already existed) first.
Attachment #8568459 - Flags: review?(rexboy) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.