mirror of
				https://github.com/lacerta-doc/Lacerta.git
				synced 2025-11-04 08:50:47 +00:00 
			
		
		
		
	Revert "ボタンアクションを実装"
This reverts commit be30ce2c625a6fd1fbaaccc126674afb63013e36.
This commit is contained in:
		
							parent
							
								
									38fe16609b
								
							
						
					
					
						commit
						914279a582
					
				@ -66,10 +66,7 @@ public class ScannerDatabaManagerStubFragment extends Fragment {
 | 
			
		||||
        super.onViewCreated(view, savedInstanceState);
 | 
			
		||||
 | 
			
		||||
        view.findViewById(R.id.button_call_camera).setOnClickListener(v -> {
 | 
			
		||||
            Intent takePictureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
 | 
			
		||||
            if (takePictureIntent.resolveActivity(requireActivity().getPackageManager()) != null) {
 | 
			
		||||
                cameraLauncher.launch(takePictureIntent);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        });
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user