No issue: Suppress deprecation for LoginStorageDelegate (#19145) (#19146)

(cherry picked from commit b396ede068)

Co-authored-by: Roger Yang <royang@mozilla.com>
pull/420/head v89.0.0-beta.1
mergify[bot] 3 years ago committed by GitHub
parent 38788f1156
commit 726290d8ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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