Loading packages/SystemUI/compose/features/src/com/android/systemui/scene/session/ui/composable/Session.kt +2 −2 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ fun Session(storage: SessionStorage = SessionStorage()): Session = SessionImpl(s */ @Composable fun <T> Session.rememberSession(vararg inputs: Any?, key: String? = null, init: () -> T): T = rememberSession(key, inputs, init = init) rememberSession(key, *inputs, init = init) /** * An explicit storage for remembering composable state outside of the lifetime of a composition. Loading Loading @@ -151,7 +151,7 @@ fun rememberSaveableSession( vararg inputs: Any?, key: String? = null, ): SaveableSession = rememberSaveable(inputs, SaveableSessionImpl.SessionSaver, key) { SaveableSessionImpl() } rememberSaveable(*inputs, SaveableSessionImpl.SessionSaver, key) { SaveableSessionImpl() } private class SessionImpl( private val storage: SessionStorage = SessionStorage(), Loading Loading
packages/SystemUI/compose/features/src/com/android/systemui/scene/session/ui/composable/Session.kt +2 −2 Original line number Diff line number Diff line Loading @@ -86,7 +86,7 @@ fun Session(storage: SessionStorage = SessionStorage()): Session = SessionImpl(s */ @Composable fun <T> Session.rememberSession(vararg inputs: Any?, key: String? = null, init: () -> T): T = rememberSession(key, inputs, init = init) rememberSession(key, *inputs, init = init) /** * An explicit storage for remembering composable state outside of the lifetime of a composition. Loading Loading @@ -151,7 +151,7 @@ fun rememberSaveableSession( vararg inputs: Any?, key: String? = null, ): SaveableSession = rememberSaveable(inputs, SaveableSessionImpl.SessionSaver, key) { SaveableSessionImpl() } rememberSaveable(*inputs, SaveableSessionImpl.SessionSaver, key) { SaveableSessionImpl() } private class SessionImpl( private val storage: SessionStorage = SessionStorage(), Loading