[fenix] No issue: Suppress deprecation for LoginStorageDelegate (https://github.com/mozilla-mobile/fenix/pull/19145)

pull/600/head
Roger Yang 4 years ago committed by GitHub
parent 04c0e062af
commit 73b0bcf3c1

@ -83,6 +83,7 @@ object GeckoProvider {
val geckoRuntime = GeckoRuntime.create(context, runtimeSettings)
val loginStorageDelegate = GeckoLoginStorageDelegate(storage)
@Suppress("Deprecation")
geckoRuntime.loginStorageDelegate = GeckoLoginDelegateWrapper(loginStorageDelegate)
return geckoRuntime

@ -93,6 +93,7 @@ object GeckoProvider {
val geckoRuntime = GeckoRuntime.create(context, runtimeSettings)
val loginStorageDelegate = GeckoLoginStorageDelegate(storage)
@Suppress("Deprecation")
geckoRuntime.loginStorageDelegate = GeckoLoginDelegateWrapper(loginStorageDelegate)
return geckoRuntime

Loading…
Cancel
Save