mozilla-mobile / reference-browser

A full-featured browser reference implementation using Mozilla Android Components.
Mozilla Public License 2.0
563 stars 160 forks source link

Update AndroidX Lifecycle to version 2.8.3 #2920

Closed rvandermeulen closed 3 days ago

rvandermeulen commented 4 days ago

https://developer.android.com/jetpack/androidx/releases/lifecycle#2.8.3

The second commit is related to this change introduced in 2.8.0:

LocalLifecycleOwner has been moved from Compose UI to lifecycle-runtime-compose so that its Compose-based helper APIs can be used outside of Compose UI.

While not strictly a problem at the moment, I noticed when testing Compose 1.7 betas that we get a new deprecation warning about it:

'@property:Deprecated(...) val LocalLifecycleOwner: ProvidableCompositionLocal' is deprecated. Moved to lifecycle-runtime-compose library in androidx.lifecycle.compose package.

mcarare commented 4 days ago

While not strictly a problem at the moment, I noticed when testing Compose 1.7 betas that we get a new deprecation warning about it:

'@Property:Deprecated(...) val LocalLifecycleOwner: ProvidableCompositionLocal' is deprecated. Moved to lifecycle-runtime-compose library in androidx.lifecycle.compose package.

My guess is that is deprecated just to force the move to the new package location.