|  |  |  | @ -87,24 +87,20 @@ public class Full2PictureRecorder extends FullPictureRecorder | 
			
		
	
		
			
				
					|  |  |  |  |             public void onCaptureCompleted(@NonNull ActionHolder holder, | 
			
		
	
		
			
				
					|  |  |  |  |                                            @NonNull CaptureRequest request, | 
			
		
	
		
			
				
					|  |  |  |  |                                            @NonNull TotalCaptureResult result) { | 
			
		
	
		
			
				
					|  |  |  |  |                 super.onCaptureCompleted(holder, request, result); | 
			
		
	
		
			
				
					|  |  |  |  |                 try { | 
			
		
	
		
			
				
					|  |  |  |  |                     if (mResult.format == PictureFormat.DNG) { | 
			
		
	
		
			
				
					|  |  |  |  |                         mDngCreator = new DngCreator(holder.getCharacteristics(this), result); | 
			
		
	
		
			
				
					|  |  |  |  |                         mDngCreator.setOrientation(ExifHelper.getExifOrientation(mResult.rotation)); | 
			
		
	
		
			
				
					|  |  |  |  |                         if (mResult.location != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                             mDngCreator.setLocation(mResult.location); | 
			
		
	
		
			
				
					|  |  |  |  |                         } | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                     super.onCaptureCompleted(holder, request, result); | 
			
		
	
		
			
				
					|  |  |  |  |                 } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |  |                     String msg = "Error"; | 
			
		
	
		
			
				
					|  |  |  |  |                     if (e.getMessage() != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                         msg = e.getMessage(); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                     Log.e("onCaptureCompleted:", msg); | 
			
		
	
		
			
				
					|  |  |  |  |                     mError = e; | 
			
		
	
		
			
				
					|  |  |  |  |                     dispatchResult(); | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |                 if (mResult.format == PictureFormat.DNG) { | 
			
		
	
		
			
				
					|  |  |  |  |                     mDngCreator = new DngCreator(holder.getCharacteristics(this), result); | 
			
		
	
		
			
				
					|  |  |  |  |                     mDngCreator.setOrientation(ExifHelper.getExifOrientation(mResult.rotation)); | 
			
		
	
		
			
				
					|  |  |  |  |                     if (mResult.location != null) { | 
			
		
	
		
			
				
					|  |  |  |  |                         mDngCreator.setLocation(mResult.location); | 
			
		
	
		
			
				
					|  |  |  |  |                     } | 
			
		
	
		
			
				
					|  |  |  |  |                 } | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  |         }; | 
			
		
	
		
			
				
					|  |  |  |  |     } | 
			
		
	
	
		
			
				
					|  |  |  | 
 |