Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
The flow of the wizard is really meant for the key to be used for signing. In fact, if you want to just create a key for code transparency you have to start a flow (signing an APK/Bundle) and then back out of it/cancel after you created the key.
To properly support this, we should also allow you to start a wizard that is just creating a key, and nothing else.
ap...@google.com <ap...@google.com> #3
Thanks for this feature request. The "Generate Signed Bundle / APK" flow is only meant to generate keys for APK or AAB signing. We'll plan to add a warning to the flow to clarify that.
mg...@google.com <mg...@google.com>
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
Author: Marcello Galhardo <
Link:
Add encodeDefaults
to SavedStateConfig
Expand for full commit details
Add `encodeDefaults` to `SavedStateConfig`
- Allows customization of whether properties with default values should be encoded, defaulting to false.
- `encodeDefaults = true` ensures all default properties are encoded. It’s useful in specific environments, like debug builds for easier debugging of SavedState or during testing for simpler verification — while skipping encoding in production (`encodeDefaults = false`).
RelNote: "Add `encodeDefaults` to `SavedStateConfig`, allowing customizing whether properties with default values should be encoded."
Bug: 395104517
Test: SavedStateCodecTest
Change-Id: I893cc44c323c972d388476bb7593259d595517af
Files:
- M
savedstate/savedstate/api/current.txt
- M
savedstate/savedstate/api/restricted_current.txt
- M
savedstate/savedstate/bcv/native/current.txt
- M
savedstate/savedstate/src/commonMain/kotlin/androidx/savedstate/serialization/SavedStateConfig.kt
- M
savedstate/savedstate/src/commonMain/kotlin/androidx/savedstate/serialization/SavedStateEncoder.kt
- A
savedstate/savedstate/src/commonTest/kotlin/androidx/savedstate/serialization/SavedStateCodecEncodeDefaultsTest.kt
Hash: 86936cf1545742a5cd3d90d721b2cd29751770d3
Date: Fri Feb 14 23:42:05 2025
na...@google.com <na...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.savedstate:savedstate:1.3.0-alpha10
androidx.savedstate:savedstate-android:1.3.0-alpha10
androidx.savedstate:savedstate-desktop:1.3.0-alpha10
androidx.savedstate:savedstate-iosx64:1.3.0-alpha10
androidx.savedstate:savedstate-linuxarm64:1.3.0-alpha10
androidx.savedstate:savedstate-linuxx64:1.3.0-alpha10
androidx.savedstate:savedstate-macosarm64:1.3.0-alpha10
androidx.savedstate:savedstate-macosx64:1.3.0-alpha10
Description
We will introduce class discriminator, useful when writing your own custom polymorphic serialization logic. We will follow the convention stablished by KTX Serialization JSON.
go/savedstate-class-discriminator