Option for download is redundant and thus removed when linkType is CHANNEL or PLAYLIST
This commit is contained in:
parent
c12ac64678
commit
b564433ff6
1 changed files with 5 additions and 4 deletions
|
@ -466,6 +466,11 @@ public class RouterActivity extends AppCompatActivity {
|
||||||
if (capabilities.contains(AUDIO)) {
|
if (capabilities.contains(AUDIO)) {
|
||||||
returnList.add(backgroundPlayer);
|
returnList.add(backgroundPlayer);
|
||||||
}
|
}
|
||||||
|
// download is redundant for linkType CHANNEL AND PLAYLIST (till playlist downloading is
|
||||||
|
// not supported )
|
||||||
|
returnList.add(new AdapterChoiceItem(getString(R.string.download_key),
|
||||||
|
getString(R.string.download),
|
||||||
|
R.drawable.ic_file_download));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
returnList.add(showInfo);
|
returnList.add(showInfo);
|
||||||
|
@ -478,10 +483,6 @@ public class RouterActivity extends AppCompatActivity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
returnList.add(new AdapterChoiceItem(getString(R.string.download_key),
|
|
||||||
getString(R.string.download),
|
|
||||||
R.drawable.ic_file_download));
|
|
||||||
|
|
||||||
return returnList;
|
return returnList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue