Fixed
Status Update
Comments
fr...@gmail.com <fr...@gmail.com> #2
Note that only target platforms supported by Compose (not to confuse with Compose Multiplatform) will be supported by the lifecycle-viewmodel-compose
artifact.
at...@google.com <at...@google.com>
at...@google.com <at...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit 74baccb421292733fcff3fc12335fdbfdb69ece0
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Wed Mar 20 11:39:47 2024
Add `KClass` method variants on `viewmodel-compose`
RelNote: "Composable `viewModel` functions now accept a `KClass` for Multiplatform compatibility. The `Class` variants are kept for Android compatibility."
Test: N/A
Bug: 330323282
Change-Id: I59611546d8a5fd133694817837a986c029fcd47e
M lifecycle/lifecycle-viewmodel-compose/api/current.txt
M lifecycle/lifecycle-viewmodel-compose/api/restricted_current.txt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/ViewModel.android.kt
https://android-review.googlesource.com/3007640
Branch: androidx-main
commit 74baccb421292733fcff3fc12335fdbfdb69ece0
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Wed Mar 20 11:39:47 2024
Add `KClass` method variants on `viewmodel-compose`
RelNote: "Composable `viewModel` functions now accept a `KClass` for Multiplatform compatibility. The `Class` variants are kept for Android compatibility."
Test: N/A
Bug: 330323282
Change-Id: I59611546d8a5fd133694817837a986c029fcd47e
M lifecycle/lifecycle-viewmodel-compose/api/current.txt
M lifecycle/lifecycle-viewmodel-compose/api/restricted_current.txt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/ViewModel.android.kt
ve...@google.com <ve...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit 4beef5f6d988924a9640138db56f193301ef1329
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Wed Mar 20 11:18:32 2024
Configure KMP on `viewmodel-compose`
* Setup the build scripts.
* Setup folder hierarchy.
Test: N/A
Bug: 330323282
Change-Id: Ib7d563bb2c2277b3c3a4167803ffdc9472dcfd5c
M docs-tip-of-tree/build.gradle
M lifecycle/lifecycle-viewmodel-compose/build.gradle
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/AndroidManifest.xml
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaverTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/TestViewModelClasses.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInAppCompatActivityTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInComponentActivityTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInFragmentTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/LocalViewModelStoreOwner.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaveableApi.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaver.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/ViewModel.kt
https://android-review.googlesource.com/3007634
Branch: androidx-main
commit 4beef5f6d988924a9640138db56f193301ef1329
Author: Marcello Galhardo <mgalhardo@google.com>
Date: Wed Mar 20 11:18:32 2024
Configure KMP on `viewmodel-compose`
* Setup the build scripts.
* Setup folder hierarchy.
Test: N/A
Bug: 330323282
Change-Id: Ib7d563bb2c2277b3c3a4167803ffdc9472dcfd5c
M docs-tip-of-tree/build.gradle
M lifecycle/lifecycle-viewmodel-compose/build.gradle
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/AndroidManifest.xml
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaverTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/TestViewModelClasses.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInAppCompatActivityTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInComponentActivityTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelInFragmentTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidInstrumentedTest/kotlin/androidx/lifecycle/viewmodel/compose/ViewModelTest.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/LocalViewModelStoreOwner.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaveableApi.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/SavedStateHandleSaver.kt
M lifecycle/lifecycle-viewmodel-compose/src/androidMain/kotlin/androidx/lifecycle/viewmodel/compose/ViewModel.kt
Description
- Build Number: google/cheetah_beta/cheetah:14/AP11.231117.006/11174680:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
What type of Android issue is this? Reboot, Crash or Device Hang
What steps would let us observe this issue?
1. Reboot device via power
What did you expect to happen?
Phone to reboot and be able to start
What actually happened?
Multi window, pixel launcher, and other main app items crash device or wont work for a about 1-5 minutes
How often has this happened?
Frequently
What was the effect of this issue on your device usage, such as lost time or work?
Extreme - device was unusable
Additional comments
After a restart most or all interface and interaction will not work other than the lock screen and i often use the power button to debug, what breaks: pixel launcher, multi window, and 3 button navigation
Debugging information
Google Play services
com.google.android.gms
Version 234816038 (23.48.16 (190400-590025996))
System App (Updated)
Android System WebView
com.google.android.webview
Version 609904333 (120.0.6099.43)
System App (Updated)
Network operator: AT&T
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.39-betterbug.external_20231115_RC02 (DOGFOOD)
To learn more about our feedback process, please visit