Skip to content

Commit

Permalink
Rename internal method to avoid duplicate JVM signature
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarr21 committed Oct 31, 2023
1 parent 73a5958 commit 28ffde2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public abstract class RibActivity :
override fun onSaveInstanceState(outState: android.os.Bundle) {
super.onSaveInstanceState(outState)
_callbacksFlow.tryEmit(createOnSaveInstanceStateEvent(outState))
router?.saveInstanceStateInternal(Bundle(outState))
router?.dispatchSaveInstanceState(Bundle(outState))
?: throw NullPointerException("Router should not be null")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ abstract class ViewRouter<V : View, I : Interactor<*, *>> : Router<I> {
}
}

internal fun saveInstanceStateInternal(outState: Bundle) {
internal fun dispatchSaveInstanceState(outState: Bundle) {
saveInstanceState(outState)
}
}

0 comments on commit 28ffde2

Please sign in to comment.