|  |  |  | @ -6,6 +6,7 @@ import android.content.Context | 
		
	
		
			
				|  |  |  |  | import android.content.Intent | 
		
	
		
			
				|  |  |  |  | import com.common.commonlib.net.callback.RequestResultCallBack | 
		
	
		
			
				|  |  |  |  | import com.yinuo.safetywatcher.watcher.bean.GetRtspUrlResponse | 
		
	
		
			
				|  |  |  |  | import com.yinuo.safetywatcher.watcher.constant.HEARTBEAT_TIME | 
		
	
		
			
				|  |  |  |  | import com.yinuo.safetywatcher.watcher.net.DevicesApi | 
		
	
		
			
				|  |  |  |  | import com.yinuo.safetywatcher.watcher.utils.LztekUtil | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
	
		
			
				
					|  |  |  | @ -39,7 +40,7 @@ class HeartbeatService : IntentService("HeartbeatService") { | 
		
	
		
			
				|  |  |  |  |         // 更新流量信息 | 
		
	
		
			
				|  |  |  |  |         checkAndUpdateTrafficInfo() | 
		
	
		
			
				|  |  |  |  |         // 睡眠30s | 
		
	
		
			
				|  |  |  |  |         Thread.sleep(30000) | 
		
	
		
			
				|  |  |  |  |         Thread.sleep(HEARTBEAT_TIME) | 
		
	
		
			
				|  |  |  |  |         // 重新轮回 | 
		
	
		
			
				|  |  |  |  |         handleActionStart(intent) | 
		
	
		
			
				|  |  |  |  |     } | 
		
	
	
		
			
				
					|  |  |  | 
 |