Status Update
Comments
il...@google.com <il...@google.com> #2
Information redacted by Android Beta Feedback.
ch...@gmail.com <ch...@gmail.com> #3
Thanks for reporting this issue. We have passed this to the development team and will update this issue with more information as it becomes available.
il...@google.com <il...@google.com> #4
What
More information
Deep sleep stops working. Restart helps
Where
Build and device data
- Build Number: google/husky_beta/husky:16/BP22.250221.013/13218340:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
- SoC Revision: Zuma B1
Debugging information
Usługi Google Play
com.google.android.gms
Version 250934035 (25.09.34 (260400-738842635))
System App (Updated)
Android System WebView
com.google.android.webview
Version 699804033 (134.0.6998.40)
System App (Updated)
Network operator: Orange
SIM operator: Orange
Filed by Android Beta Feedback. Version (Updated): 2.46-betterbug.external_20241023_RC01 (DOGFOOD)
To learn more about our feedback process, please visit
ch...@gmail.com <ch...@gmail.com> #5
Information redacted by Android Beta Feedback.
ap...@google.com <ap...@google.com> #6
What
More information
My Pixel 8 battery lasts less than with version 15
Where
Build and device data
- Build Number: google/shiba_beta/shiba:16/BP22.250221.013/13218340:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
- SoC Revision: Zuma B1
Debugging information
Servicios de Google Play
com.google.android.gms
Version 250934035 (25.09.34 (260400-738842635))
System App (Updated)
Android System WebView
com.google.android.webview
Version 699804033 (134.0.6998.40)
System App (Updated)
Network operator: Not available
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.46-betterbug.external_20241023_RC01 (DOGFOOD)
To learn more about our feedback process, please visit
il...@google.com <il...@google.com> #7
Information redacted by Android Beta Feedback.
Description
I have two Activities, MainActivity and SecondActivity. Using Navigation architecture in MainActivity, which has two fragments, such as HomeFragment and DetailFragment, the Navigation diagram is declared as follows:
Generate ViewModels in the DetailFragment onCreate with "by navGraphViewModels".
There is a button in DetailFragment, clicking it will jump to SecondActivity, when "Do not keep background Activity" is enabled, pressing the back button in SecondActivity will trigger the program crash:
If I put the vm creation declaration in the onViewCreated lifecycle or later, there will be no crashes.
Does "by navGraphViewModels" necessarily require the user to use it this way?
In my opinion, as long as the NavBackStackEntry viewModelStore corresponding to "R.id.navigation_home_flow" is in the CREATED state, it's OK, not the DetailFragment.
The Navigation version I use is 2.4.0-alpha06.
Thanks in advance if you can address my issue.