Resolves ENG-5287. Implements a function that determines which device should be primary basing on user's current devices.
Depends on D10399
Unit tests covering all cases from the ENG-5844 testing task.
Remove accidentaly committed comments
not sure i understand the part in parentheses here
together
can we add a test that shows that if there are two mobile devices with the same code version and latest login time, we still deterministically select the primary device?
Add test to check if selection is deterministic
Yeah it doesn't make sense