Fix TetherPreference summary missing
PreferenceController need a constructor(context, key) to work in xml. Bug: 377146536 Flag: EXEMPT bug fix Test: manual - on Network & internet Change-Id: Ib3c0155eacdff128333abf04a8103300623f4c2a
This commit is contained in:
@@ -42,7 +42,9 @@ import kotlinx.coroutines.flow.flowOn
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
|
||||
class TetherPreferenceController(
|
||||
class TetherPreferenceController
|
||||
@JvmOverloads
|
||||
constructor(
|
||||
context: Context,
|
||||
key: String,
|
||||
private val tetheredRepository: TetheredRepository = TetheredRepository(context),
|
||||
|
Reference in New Issue
Block a user