for #11364 added a resetAfter for onboarding variable inside HomeFragment to avoid random system strictmode violations during UI testing. (#13811)
parent
a04b91ee3c
commit
4b85f3e53b
|
@ -146,7 +146,9 @@ class HomeFragment : Fragment() {
|
|||
private val store: BrowserStore
|
||||
get() = requireComponents.core.store
|
||||
|
||||
private val onboarding by lazy { FenixOnboarding(requireContext()) }
|
||||
private val onboarding by lazy { StrictMode.allowThreadDiskReads().resetPoliciesAfter {
|
||||
FenixOnboarding(requireContext()) } }
|
||||
|
||||
private lateinit var homeFragmentStore: HomeFragmentStore
|
||||
private var _sessionControlInteractor: SessionControlInteractor? = null
|
||||
protected val sessionControlInteractor: SessionControlInteractor
|
||||
|
|
Loading…
Reference in New Issue