mirror of
				https://github.com/nerzhul/ownCloud-SMS-App.git
				synced 2025-10-31 02:17:53 +00:00 
			
		
		
		
	Fix a NullPointerException reported by Play store
This commit is contained in:
		
							parent
							
								
									a72583894e
								
							
						
					
					
						commit
						eae84dadfb
					
				| @ -68,7 +68,7 @@ public interface ASyncSMSRecovery { | |||||||
| 
 | 
 | ||||||
| 			Integer nb = 0; | 			Integer nb = 0; | ||||||
| 			try { | 			try { | ||||||
| 				while (obj.getLong("last_id") != start) { | 				while (obj != null && obj.getLong("last_id") != start) { | ||||||
| 					JSONObject messages = obj.getJSONObject("messages"); | 					JSONObject messages = obj.getJSONObject("messages"); | ||||||
| 					Iterator<?> keys = messages.keys(); | 					Iterator<?> keys = messages.keys(); | ||||||
| 					while (keys.hasNext()) { | 					while (keys.hasNext()) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user