Skip to content
This repository was archived by the owner on Dec 18, 2022. It is now read-only.

Commit 51378a5

Browse files
committed
add string definitions for TorServicePrefs key values
1 parent 21d743f commit 51378a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

topl-service/src/main/java/io/matthewnelson/topl_service/util/ServiceConsts.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,15 @@ abstract class ServiceConsts: BaseConsts() {
210210
}
211211

212212
@StringDef(
213+
PrefKeyInt.DORMANT_CLIENT_TIMEOUT,
213214
PrefKeyInt.PROXY_PORT,
214215
PrefKeyInt.PROXY_SOCKS5_SERVER_PORT
215216
)
216217
@Retention(AnnotationRetention.SOURCE)
217218
annotation class PrefKeyInt {
218219
companion object {
219220
// Keys for returning Ints
221+
const val DORMANT_CLIENT_TIMEOUT = "DORMANT_CLIENT_TIMEOUT"
220222
const val PROXY_PORT = "PROXY_PORT"
221223
const val PROXY_SOCKS5_SERVER_PORT = "PROXY_SOCKS5_SERVER_PORT"
222224
}

0 commit comments

Comments
 (0)