mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Add commentd
This commit is contained in:
parent
12442dd5f1
commit
cf23d273c1
1 changed files with 2 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ public class UploadController {
|
||||||
contribution.setTag("mimeType", mimeType);
|
contribution.setTag("mimeType", mimeType);
|
||||||
contribution.setSource(source);
|
contribution.setSource(source);
|
||||||
|
|
||||||
|
//Calls the next overloaded method
|
||||||
startUpload(contribution, onComplete);
|
startUpload(contribution, onComplete);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,6 +82,7 @@ public class UploadController {
|
||||||
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(activity);
|
||||||
|
|
||||||
|
//Set creator, desc, and license
|
||||||
if(TextUtils.isEmpty(contribution.getCreator())) {
|
if(TextUtils.isEmpty(contribution.getCreator())) {
|
||||||
contribution.setCreator(app.getCurrentAccount().name);
|
contribution.setCreator(app.getCurrentAccount().name);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue