diff --git a/android/libraries/rib-android/src/main/kotlin/com/uber/rib/core/ViewRouter.kt b/android/libraries/rib-android/src/main/kotlin/com/uber/rib/core/ViewRouter.kt index b73659c3d..ec0f74657 100644 --- a/android/libraries/rib-android/src/main/kotlin/com/uber/rib/core/ViewRouter.kt +++ b/android/libraries/rib-android/src/main/kotlin/com/uber/rib/core/ViewRouter.kt @@ -47,8 +47,4 @@ abstract class ViewRouter> : Router { XRay.apply(this, view) } } - - internal fun saveInstanceStateInternal(outState: Bundle) { - saveInstanceState(outState) - } } diff --git a/android/libraries/rib-base/src/main/kotlin/com/uber/rib/core/Router.kt b/android/libraries/rib-base/src/main/kotlin/com/uber/rib/core/Router.kt index 372c4d50c..948d2441c 100644 --- a/android/libraries/rib-base/src/main/kotlin/com/uber/rib/core/Router.kt +++ b/android/libraries/rib-base/src/main/kotlin/com/uber/rib/core/Router.kt @@ -229,7 +229,8 @@ protected constructor( return children } - internal fun saveInstanceStateInternal(outState: Bundle) { + @CoreFriendModuleApi + public fun saveInstanceStateInternal(outState: Bundle) { saveInstanceState(outState) }