Closed Bug 1217163 Opened 9 years ago Closed 9 years ago

Device list is not updated when signing into new accounts

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1025128

People

(Reporter: mcomella, Unassigned)

Details

STR:
1) Sign into a sync account
2) Click 3-dot -> shareplane ("Send to device"). Note the devices in the list.
3) Remove the account
4) Sign into a different sync account with a different set of synced devices
5) Click 3-dot -> shareplane

Expected: New device list appears
Actual: Same device list appears as #2.

Forcing a sync via the Sync or Android Settings does not change this result, nor clearing the application from memory. I only had success with completely clearing all data from the app.

fwiw, I remember doing testing on this in the past and it seemed to work after a force sync so this could be a regression.

Nick, do you know what's up here?
Flags: needinfo?(nalexander)
(In reply to Michael Comella (:mcomella) from comment #0)
> STR:
> 1) Sign into a sync account
> 2) Click 3-dot -> shareplane ("Send to device"). Note the devices in the
> list.
> 3) Remove the account
> 4) Sign into a different sync account with a different set of synced devices
> 5) Click 3-dot -> shareplane
> 
> Expected: New device list appears
> Actual: Same device list appears as #2.
> 
> Forcing a sync via the Sync or Android Settings does not change this result,
> nor clearing the application from memory. I only had success with completely
> clearing all data from the app.
> 
> fwiw, I remember doing testing on this in the past and it seemed to work
> after a force sync so this could be a regression.
> 
> Nick, do you know what's up here?

Yes, although it's not what I expected.  Bug 830270 addressed the tabs part of this, see https://hg.mozilla.org/mozilla-central/rev/d7585d5adb6a#l1.33.  Looks like you've uncovered an old issue with the tabs provider, see the comment at:

https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/sync/repositories/android/FennecTabsRepository.java#360

Fixing this isn't rocket science but it is some work.  Probably want to dupe to Bug 1025128 (see the comment about deleting by GUIDs).
Flags: needinfo?(nalexander)
Status: NEW → RESOLVED
tracking-fennec: ? → ---
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.