mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-31 14:53:59 +01:00 
			
		
		
		
	Remove defaultPrefs check - no real use?
This commit is contained in:
		
							parent
							
								
									18e9ac753c
								
							
						
					
					
						commit
						4551eebeb6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -49,8 +49,8 @@ class DirectUpload { | |||
|     } | ||||
| 
 | ||||
|     void initiateCameraUpload() { | ||||
|         boolean useExtStorage = defaultPrefs.getBoolean("useExternalStorage", true); | ||||
|         if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M && useExtStorage) { | ||||
|         //boolean useExtStorage = defaultPrefs.getBoolean("useExternalStorage", true); | ||||
|         if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { | ||||
|             if (ContextCompat.checkSelfPermission(fragment.getActivity(), WRITE_EXTERNAL_STORAGE) != PackageManager.PERMISSION_GRANTED) { | ||||
|                 if (fragment.getActivity().shouldShowRequestPermissionRationale(WRITE_EXTERNAL_STORAGE)) { | ||||
|                     new AlertDialog.Builder(fragment.getActivity()) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 misaochan
						misaochan