File tree Expand file tree Collapse file tree
app/src/minimal/kotlin/io/homeassistant/companion/android/thread Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ class ThreadManagerImpl @Inject constructor() : ThreadManager {
2323 scope : CoroutineScope ,
2424 ): ThreadManager .SyncResult = ThreadManager .SyncResult .AppUnsupported
2525
26+ override suspend fun hasSyncedPreferredDataset (serverId : Int ): Boolean = false
27+
2628 override suspend fun getPreferredDatasetFromServer (serverId : Int ): ThreadDatasetResponse ? = null
2729
2830 override suspend fun importDatasetFromServer (
@@ -33,7 +35,11 @@ class ThreadManagerImpl @Inject constructor() : ThreadManager {
3335 ) { }
3436
3537 override suspend fun getPreferredDatasetFromDevice (context : Context ): IntentSender ? {
36- throw IllegalStateException (" Thread is not supported with the minimal flavor" )
38+ throw ThreadManager .ThreadNetworkException (" Thread is not supported with the minimal flavor" )
39+ }
40+
41+ override suspend fun isPreferredDatasetByDevice (context : Context , tlv : String ): Boolean {
42+ throw ThreadManager .ThreadNetworkException (" Thread is not supported with the minimal flavor" )
3743 }
3844
3945 override suspend fun sendThreadDatasetExportResult (result : ActivityResult , serverId : Int ): String? = null
You can’t perform that action at this time.
0 commit comments