Add comments

This commit is contained in:
misaochan 2016-12-15 15:30:33 +13:00
parent 636e7ddcfb
commit 81503befb0
2 changed files with 2 additions and 1 deletions

View file

@ -45,6 +45,7 @@ public class Utils {
private static final String TAG = Utils.class.getName(); private static final String TAG = Utils.class.getName();
// Get SHA1 of file from input stream
public static String getSHA1(InputStream is) { public static String getSHA1(InputStream is) {
MessageDigest digest; MessageDigest digest;

View file

@ -121,7 +121,7 @@ public class ShareActivity
app.cacheData.cacheCategory(); app.cacheData.cacheCategory();
Log.d(TAG, "Cache the categories found"); Log.d(TAG, "Cache the categories found");
} }
uploadController.startUpload(title, mediaUri, description, mimeType, source, decimalCoords, new UploadController.ContributionUploadProgress() { uploadController.startUpload(title, mediaUri, description, mimeType, source, decimalCoords, new UploadController.ContributionUploadProgress() {
public void onUploadStarted(Contribution contribution) { public void onUploadStarted(Contribution contribution) {
ShareActivity.this.contribution = contribution; ShareActivity.this.contribution = contribution;