mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	
						commit
						eea5240bd0
					
				| @ -19,14 +19,14 @@ dependencies { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| android { | android { | ||||||
|     compileSdkVersion 29 |     compileSdkVersion 30 | ||||||
| 
 | 
 | ||||||
|     defaultConfig { |     defaultConfig { | ||||||
|         minSdkVersion 21 |         minSdkVersion 21 | ||||||
|         targetSdkVersion 29 |         targetSdkVersion 30 | ||||||
| 
 | 
 | ||||||
|         versionCode = 10001201 |         versionCode = 10001300 | ||||||
|         versionName = "1.0.13-beta.1" |         versionName = "1.0.13" | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     lintOptions { |     lintOptions { | ||||||
|  | |||||||
| @ -9,7 +9,7 @@ object LoggingHelper { | |||||||
| 
 | 
 | ||||||
|     fun startLogging(directory: File, storagePath: String) { |     fun startLogging(directory: File, storagePath: String) { | ||||||
|         fileLoggingTree()?.let { |         fileLoggingTree()?.let { | ||||||
|             Timber.forest().drop(Timber.forest().indexOf(it)) |             Timber.uproot(it) | ||||||
|         } |         } | ||||||
|         if (!directory.exists()) |         if (!directory.exists()) | ||||||
|             directory.mkdirs() |             directory.mkdirs() | ||||||
| @ -18,7 +18,7 @@ object LoggingHelper { | |||||||
| 
 | 
 | ||||||
|     fun stopLogging() { |     fun stopLogging() { | ||||||
|         fileLoggingTree()?.let { |         fileLoggingTree()?.let { | ||||||
|             Timber.forest().drop(Timber.forest().indexOf(it)) |             Timber.uproot(it) | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user