From: Bartek Przybylski Date: Sat, 30 Jun 2012 11:51:31 +0000 (+0200) Subject: Merge branch 'master' of gitorious.org:owncloud/android-devel X-Git-Tag: oc-android-1.4.3~323^2~4^2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/1e63d71c91c8c4ecf048adc719c7158630d5d063?hp=d6205749eb5a9ef1991c2313ab2b3bffbc2753d5 Merge branch 'master' of gitorious.org:owncloud/android-devel --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4e9ca6f2..bb1f30e6 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -160,4 +160,4 @@ - \ No newline at end of file + diff --git a/src/eu/alefzero/owncloud/ui/adapter/FileListListAdapter.java b/src/eu/alefzero/owncloud/ui/adapter/FileListListAdapter.java index fc28e1ff..6008d166 100644 --- a/src/eu/alefzero/owncloud/ui/adapter/FileListListAdapter.java +++ b/src/eu/alefzero/owncloud/ui/adapter/FileListListAdapter.java @@ -104,7 +104,7 @@ public class FileListListAdapter implements ListAdapter { fileName.setText(name); ImageView fileIcon = (ImageView) view.findViewById(R.id.imageView1); - if (!file.getMimetype().equals("DIR")) { + if (file.getMimetype() == null || !file.getMimetype().equals("DIR")) { fileIcon.setImageResource(R.drawable.file); } else { fileIcon.setImageResource(R.drawable.ic_menu_archive);