diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-09-18 22:06:41 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-09-18 23:37:39 +0200 |
commit | b943c59f3575ee357b66cc316baec95ffcfd5f10 (patch) | |
tree | 5d7356cc1b2d394fee832e8f4cf9f1fc12da09ae /apps/lang/english.lang | |
parent | fe45f8f090ae64ff5b8bad59ce628662ea60209a (diff) | |
download | rockbox-b943c59f3575ee357b66cc316baec95ffcfd5f10.tar.gz rockbox-b943c59f3575ee357b66cc316baec95ffcfd5f10.zip |
Rework autodetection to better handle ambiguous cases.
The old detection code simply assumed only one player to be connected and threw
all information it could find together, causing wrong results in various cases.
Rewrite it to better handle this.
- Don't expect only a single player to be attached. Return a list of players
found instead. The configuration dialog can then show the user a list to
select from. This is not implemented yet, the configuration dialog will only
show the devices found and tell the user to disconnect all but one.
- Handle ambiguous cases better. A player found that is ambiguous is treated as
such, and if refining the result didn't lead to a single match for each
possible player a single entry is created that indicates it being ambiguous.
The current code needs a bit of additional cleanup (the result exposes internal
data to the caller it shouldn't) to be done later.
Change-Id: I22dc2f73cdd6a9d90c34f3a0703aa9e0a2d2087a
Diffstat (limited to 'apps/lang/english.lang')
0 files changed, 0 insertions, 0 deletions