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

Commit 21d743f

Browse files
committed
add new option to implementations
1 parent a7097a4 commit 21d743f

File tree

2 files changed

+6
-0
lines changed
  • sampleapp/src/main/java/io/matthewnelson/sampleapp/topl_android
  • topl-service/src/test/java/io/matthewnelson/test_helpers/application_provided_classes

2 files changed

+6
-0
lines changed

sampleapp/src/main/java/io/matthewnelson/sampleapp/topl_android/MyTorSettings.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ import io.matthewnelson.topl_core_base.TorSettings
7474
* */
7575
class MyTorSettings: TorSettings() {
7676

77+
override val dormantClientTimeout: Int?
78+
get() = DEFAULT__DORMANT_CLIENT_TIMEOUT
79+
7780
override val disableNetwork: Boolean
7881
get() = DEFAULT__DISABLE_NETWORK
7982

topl-service/src/test/java/io/matthewnelson/test_helpers/application_provided_classes/TestTorSettings.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ import io.matthewnelson.topl_core_base.TorSettings
7070

7171
internal class TestTorSettings: TorSettings() {
7272

73+
override val dormantClientTimeout: Int?
74+
get() = DEFAULT__DORMANT_CLIENT_TIMEOUT
75+
7376
override val disableNetwork: Boolean
7477
get() = DEFAULT__DISABLE_NETWORK
7578

0 commit comments

Comments
 (0)