Fixed
Status Update
Comments
mg...@google.com <mg...@google.com> #2
Information redacted by Android Beta Feedback.
ap...@google.com <ap...@google.com> #3
We are unable to reproduce this issue from our end. Please share the screen record of the issue, for clarity.
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
mg...@google.com <mg...@google.com>
ap...@google.com <ap...@google.com> #5
We have passed this to the development team and will update this issue with more information as it becomes available.
pr...@google.com <pr...@google.com> #6
I'm on a Samsung Galaxy Fold 4 that is on Android 12L with the July 2022 (original) security patch & I noticed that Smart Lock Trusted Places is missing.
ap...@google.com <ap...@google.com> #7
I have a Galaxy s10. After the August 2022 security patch, I no longer have a smart lock trusted places option.
ap...@google.com <ap...@google.com> #8
deleted
ap...@google.com <ap...@google.com> #9
Pixel 6a on Android 13. Same issue
ap...@google.com <ap...@google.com> #10
I have a Google Pixel 4a 5G and I can confirm the same issue. I've tried factory resetting my device but this did not fix the problem.
Description
saveable
has built-in support for Compose'sMutableState
, supporting this use case:It does this by providing an overloaded function that handles
MutableState.value
and serializes it when needed.To help people migrate from
saveable
tosaved
, we want to supportMutableState
in our KotlinX serialization support.While working on
getMutableState
, I experimented with this and created a naiveKSerializer
implementation to handleMutableState
.Here’s what it could look like:
For serialization, we'd use
(value as MutableState<T>).value
+valueSerializer
to serialize the content. Deserialization works in the opposite direction.Here’s a usage example:
However, calling this without the serializer would cause an exception.
Our variant should work like
saveable
: ifT
(the generic type insaved
) is serializable, it should work without needing the serializer.The goal is to find the best way to support
MutableState
insaved
(using aKSerializer
, overloads, or another method).Related to b/378895070 .