mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-11-04 08:43:52 +01:00 
			
		
		
		
	Further code cleanup
This commit is contained in:
		
							parent
							
								
									5a0a8c6019
								
							
						
					
					
						commit
						821eaceb27
					
				
					 2 changed files with 0 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -23,16 +23,12 @@ public class DirectUpload {
 | 
			
		|||
    private Fragment fragment;
 | 
			
		||||
    private SharedPreferences prefs;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    DirectUpload(Fragment fragment, ContributionController controller, SharedPreferences prefs) {
 | 
			
		||||
        this.fragment = fragment;
 | 
			
		||||
        this.controller = controller;
 | 
			
		||||
        this.prefs = prefs;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    void initiateCameraUpload() {
 | 
			
		||||
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
 | 
			
		||||
            if (ContextCompat.checkSelfPermission(fragment.getActivity(), WRITE_EXTERNAL_STORAGE) != PERMISSION_GRANTED) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue