Is there an replacement for `org.openqa.selenium.ContextAware` interface in Appium?

We used to use org.openqa.selenium.ContextAware interface to switch between contexts:

  ContextAware ca = (ContextAware) androidDriver;
  androidDriver.context("WEBVIEW_com.saucelabs.mydemoapp.rn")

But interface org.openqa.selenium.ContextAware was recently removed in Selenium 4.34.0-SNAPSHOT.

Is Appium's interface io.appium.java_client.remote.SupportsContextSwitching is proper replacement?
But it still depends on org.openqa.selenium.ContextAware (so it fails in runtime with Selenium 4.34.0-SNAPSHOT).