Always expand folders

User can still use long-press to enqueue a folder
This commit is contained in:
Adrian Ulrich committed 2013-08-29 10:01:07 +02:00
1 parent ace08e42d6
commit 07da854515
1 file changed
+2 -1
@@ -318,7 +318,8 @@ public class FileSystemAdapter
public void onClick(View view)
{
Intent intent = createData((View)view.getParent());
if (view.getId() == R.id.arrow) {
boolean isFolder = intent.getBooleanExtra(LibraryAdapter.DATA_EXPANDABLE, false);
if (isFolder) {
mActivity.onItemExpanded(intent);
} else {
mActivity.onItemClicked(intent);