mirror of
				https://github.com/nerzhul/ownCloud-SMS-App.git
				synced 2025-10-30 18:07:51 +00:00 
			
		
		
		
	Prepare new preference to manage minimum length senders to allow for sync
This commit is contained in:
		
							parent
							
								
									ba672a2ab9
								
							
						
					
					
						commit
						58ef25883c
					
				| @ -2,6 +2,7 @@ package fr.unix_experience.owncloud_sms.defines; | |||||||
| 
 | 
 | ||||||
| public class DefaultPrefs { | public class DefaultPrefs { | ||||||
| 	public final static Integer syncInterval = 15; | 	public final static Integer syncInterval = 15; | ||||||
|  |     public final static Integer minimumCharsForSync = 6; | ||||||
| 	public final static Boolean pushOnReceive = true; | 	public final static Boolean pushOnReceive = true; | ||||||
| 
 | 
 | ||||||
| 	public final static Boolean syncWifi = true; | 	public final static Boolean syncWifi = true; | ||||||
|  | |||||||
| @ -70,4 +70,6 @@ public class OCSMSSharedPrefs extends SharedPrefs { | |||||||
|     public Integer getSyncBulkLimit() { |     public Integer getSyncBulkLimit() { | ||||||
|         return _sPrefs.getInt("sync_bulk_messages", -1); |         return _sPrefs.getInt("sync_bulk_messages", -1); | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     public Integer getMinPhoneNumberCharsToSync() { return _sPrefs.getInt("minimum_sync_chars", DefaultPrefs.minimumCharsForSync); } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user