mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	Revert ommitting default value from Prefs.DEFAULT_LICENSE
This commit is contained in:
		
							parent
							
								
									3926b2165d
								
							
						
					
					
						commit
						d20bc5f1ce
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -101,7 +101,7 @@ public class SingleUploadFragment extends Fragment { | |||
|         licenseItems.add(getString(R.string.license_name_cc_by_sa_four)); | ||||
| 
 | ||||
|         prefs = PreferenceManager.getDefaultSharedPreferences(getActivity()); | ||||
|         license = prefs.getString(Prefs.DEFAULT_LICENSE, null); | ||||
|         license = prefs.getString(Prefs.DEFAULT_LICENSE, Prefs.Licenses.CC_BY_SA_3); | ||||
| 
 | ||||
|         Log.d("Single Upload fragment", license); | ||||
| 
 | ||||
|  |  | |||
|  | @ -93,7 +93,7 @@ public class UploadController { | |||
|             contribution.setDescription(""); | ||||
|         } | ||||
| 
 | ||||
|         String license = prefs.getString(Prefs.DEFAULT_LICENSE, null); | ||||
|         String license = prefs.getString(Prefs.DEFAULT_LICENSE, Prefs.Licenses.CC_BY_SA_3); | ||||
|         contribution.setLicense(license); | ||||
| 
 | ||||
|         //FIXME: Add permission request here. Only executeAsyncTask if permission has been granted | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 veyndan
						veyndan