apps-android-commons/app/src/main/java/fr/free/nrw/commons
briancollins-92 fcd5432f74 Fix 2072: default license selector in Settings (#2084)
* SharedPreferences Dep Injection added, updateLicense() updated

method updateLicense() was previously looking to the UploadModel for the
current default license, this has now been changed so that it gets it from
a SharedPreferences object

* UploadModel.license aligned to SharedPreferences

variable UploadModel.license within the constuctor is now assigned to the string of the
"default_license" value within SharedPreferences

Admittedly this may not be completly necissary as UploadModel.license is modified via
UploadPresenter.updateLicense on creation.
2018-12-20 18:10:06 +00:00
..
achievements Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
auth Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
bookmarks Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
caching Refactoring to extract GpsCategoryModel and ensure single-responsibility-principle is maintained in CategoryApi. 2018-05-25 01:55:03 -05:00
campaigns Bug fix in campaigns (#2119) 2018-12-19 22:06:51 +10:00
category Fix memory leak in CategoryDetailsActivity (#1792) 2018-12-20 14:18:30 +02:00
concurrency Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955) 2018-11-04 14:37:28 +00:00
contributions Merge pull request #2085 from neslihanturan/fixOrientationIssueOnSearchNearby 2018-12-20 20:59:49 +10:00
data Feature #1756 : Bookmark System (#1935) 2018-10-26 02:54:22 +11:00
delete Merge branch 'master' into addedReasonList 2018-11-20 21:16:51 +05:30
di Fix #1828: Add missing Javadocs and tidy up code in nearby package (#2133) 2018-12-19 18:49:08 +00:00
explore Updated deleteAll() method to delete all searches instead of 10(#2181) (#2185) 2018-12-20 16:38:29 +00:00
location Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-19 17:00:32 +05:30
logging Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955) 2018-11-04 14:37:28 +00:00
media Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
modifications Optimize imports (#1927) 2018-10-13 18:31:25 +11:00
mwapi Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
nearby Javadocs and minor refactoring for Nearby package (#2188) 2018-12-20 15:19:27 +02:00
notification Merge 2.9 release with master (#2174) 2018-12-19 18:59:49 +02:00
quiz Main screen ui changes, fixes #725 Main screen UI overhaul (#1922) 2018-11-19 17:00:32 +05:30
settings Fixes #171 Fix Lint errors/warnings: global, coding style: add missing spaces (#1955) 2018-11-04 14:37:28 +00:00
theme Multiple uploads with over haul (#1968) 2018-11-19 17:00:32 +05:30
ui Fix desc icon clickable area (#2025) 2018-11-26 04:08:15 +10:00
upload Fix 2072: default license selector in Settings (#2084) 2018-12-20 18:10:06 +00:00
utils Fix #2191: Avoid getting stuck if there are any issues with media upload (#2193) 2018-12-20 17:30:14 +00:00
widget Upload tests (#2086) 2018-12-11 02:15:24 +10:00
wikidata Fixes #945 Check image coordinates for direct Nearby uploads in locations that the user is not currently in (#2099) 2018-12-16 22:26:44 +10:00
AboutActivity.java Lambda usage simplifications (#1928) 2018-11-02 18:28:42 +00:00
BasePresenter.java Show campaigns (#2113) 2018-12-15 02:55:53 +10:00
CommonsApplication.java Init ACRA when starting commons application (#2091) 2018-12-14 14:34:37 +00:00
HandlerService.java Refactoring based on comments 2018-01-13 23:59:45 +05:30
License.java added JavaDoc comments 2017-12-19 19:25:49 +05:30
LicenseList.java Update LicenseList.java 2017-12-21 20:56:25 +05:30
Media.java Optimize imports (#1927) 2018-10-13 18:31:25 +11:00
MediaDataExtractor.java Optimize imports (#1927) 2018-10-13 18:31:25 +11:00
MediaThumbnailFetchTask.java First baby steps into the world of dependency injection using Dagger. 2017-08-26 08:56:14 -05:00
MediaWikiImageView.java Fix urgent crashes A and E (#1749) 2018-08-02 06:24:08 +10:00
MvpView.java Show campaigns (#2113) 2018-12-15 02:55:53 +10:00
PageTitle.java Added JavaDocs 2017-12-10 00:28:51 -08:00
TokensTranslations.java Added the functionality 2018-03-17 09:53:17 +05:30
Utils.java Multiple uploads with over haul (#1968) 2018-11-19 17:00:32 +05:30
ViewHolder.java Refactored to move out nearby adapter from the activity 2017-04-02 22:21:05 +05:30
WelcomeActivity.java "Skip Tutorial" button moved to parent view so that it does not animate by swipes. (#1945) 2018-12-17 13:20:13 +02:00
WelcomePagerAdapter.java "Skip Tutorial" button moved to parent view so that it does not animate by swipes. (#1945) 2018-12-17 13:20:13 +02:00