Browse Source

Add comments

masensio 11 years ago
parent
commit
d24ba158d2

+ 1 - 0
src/com/owncloud/android/ui/fragment/FileDetailFragment.java

@@ -382,6 +382,7 @@ public class FileDetailFragment extends FileFragment implements OnClickListener
     /**
      * Updates the MIME type in view
      * @param mimetype to set
+     * @param filename
      */
     private void setFiletype(String mimetype, String filename) {
         TextView tv = (TextView) getView().findViewById(R.id.fdType);

+ 1 - 0
src/com/owncloud/android/utils/DisplayUtils.java

@@ -149,6 +149,7 @@ public class DisplayUtils {
      * known MIME type.
      * 
      * @param mimetype      MIME type string.
+     * @param filename      name, with extension
      * @return              Resource identifier of an image resource.
      */
     public static int getResourceId(String mimetype, String filename) {