| 
					
				 | 
			
			
				@@ -2,6 +2,7 @@ package com.emato.ich.fragment; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import android.os.Bundle; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import android.os.CountDownTimer; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import android.os.Looper; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import android.text.Editable; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.emato.ich.utils.Log; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import android.view.LayoutInflater; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -39,6 +40,7 @@ import com.google.android.material.snackbar.Snackbar; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import org.jetbrains.annotations.NotNull; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.io.IOException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import java.util.concurrent.TimeUnit; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.concurrent.atomic.AtomicBoolean; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.concurrent.atomic.AtomicInteger; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.regex.Matcher; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -119,7 +121,9 @@ public class InputInfoFragment extends Fragment { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             // 请求失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             Log.e(TAG, "onFailure: 请求oms获取手机号失败! 网络异常! ", e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             LoggingUtils.sendErrorLog("业务异常: 请求oms获取手机号失败! 网络异常! ", e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            Looper.prepare(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             ToastUtils.make(getContext(), "服务器异常! 请手动输入!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            Looper.prepare(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             mailNoLock.set(1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -196,7 +200,9 @@ public class InputInfoFragment extends Fragment { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         public void onFailure(@NotNull Call call, @NotNull IOException e) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             // TODO 预下单调用失败 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            Looper.prepare(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             ToastUtils.make(getContext(), "请求服务器失败!网络异常!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            Looper.loop(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             Log.e(TAG, "onFailure: 预下单失败! call: " + call.timeout().toString(), e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             LoggingUtils.sendErrorLog("业务异常: 预下单失败! call: " + call.timeout().toString(), e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -437,5 +443,6 @@ public class InputInfoFragment extends Fragment { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         super.onDestroy(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         binding = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        Log.i(TAG, TAG + "被销毁。。。"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |