Skip to content

Commit

Permalink
No issue: Suppress deprecation for LoginStorageDelegate (mozilla-mobi…
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketsroger authored Apr 20, 2021
1 parent 8b3a878 commit b396ede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ object GeckoProvider {

val geckoRuntime = GeckoRuntime.create(context, runtimeSettings)
val loginStorageDelegate = GeckoLoginStorageDelegate(storage)
@Suppress("Deprecation")
geckoRuntime.loginStorageDelegate = GeckoLoginDelegateWrapper(loginStorageDelegate)

return geckoRuntime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ object GeckoProvider {

val geckoRuntime = GeckoRuntime.create(context, runtimeSettings)
val loginStorageDelegate = GeckoLoginStorageDelegate(storage)
@Suppress("Deprecation")
geckoRuntime.loginStorageDelegate = GeckoLoginDelegateWrapper(loginStorageDelegate)

return geckoRuntime
Expand Down

0 comments on commit b396ede

Please sign in to comment.