No issue: Fixes strict mode death in debug custom tab
This commit is contained in:
parent
9e876ebc44
commit
407c31fdb3
|
@ -371,11 +371,6 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
||||||
view = view
|
view = view
|
||||||
)
|
)
|
||||||
|
|
||||||
val shouldForwardToThirdParties =
|
|
||||||
PreferenceManager.getDefaultSharedPreferences(context).getBoolean(
|
|
||||||
context.getPreferenceKey(R.string.pref_key_external_download_manager), false
|
|
||||||
)
|
|
||||||
|
|
||||||
val downloadFeature = DownloadsFeature(
|
val downloadFeature = DownloadsFeature(
|
||||||
context.applicationContext,
|
context.applicationContext,
|
||||||
store = store,
|
store = store,
|
||||||
|
@ -387,7 +382,11 @@ abstract class BaseBrowserFragment : Fragment(), UserInteractionHandler, Session
|
||||||
store,
|
store,
|
||||||
DownloadService::class
|
DownloadService::class
|
||||||
),
|
),
|
||||||
shouldForwardToThirdParties = { shouldForwardToThirdParties },
|
shouldForwardToThirdParties = {
|
||||||
|
PreferenceManager.getDefaultSharedPreferences(context).getBoolean(
|
||||||
|
context.getPreferenceKey(R.string.pref_key_external_download_manager), false
|
||||||
|
)
|
||||||
|
},
|
||||||
promptsStyling = DownloadsFeature.PromptsStyling(
|
promptsStyling = DownloadsFeature.PromptsStyling(
|
||||||
gravity = Gravity.BOTTOM,
|
gravity = Gravity.BOTTOM,
|
||||||
shouldWidthMatchParent = true,
|
shouldWidthMatchParent = true,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user