mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add comments
This commit is contained in:
parent
636e7ddcfb
commit
81503befb0
2 changed files with 2 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ public class Utils {
|
|||
|
||||
private static final String TAG = Utils.class.getName();
|
||||
|
||||
// Get SHA1 of file from input stream
|
||||
public static String getSHA1(InputStream is) {
|
||||
|
||||
MessageDigest digest;
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ public class ShareActivity
|
|||
app.cacheData.cacheCategory();
|
||||
Log.d(TAG, "Cache the categories found");
|
||||
}
|
||||
|
||||
|
||||
uploadController.startUpload(title, mediaUri, description, mimeType, source, decimalCoords, new UploadController.ContributionUploadProgress() {
|
||||
public void onUploadStarted(Contribution contribution) {
|
||||
ShareActivity.this.contribution = contribution;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue