Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Thanks for the bug report. If you can still reproduce this, can you attach a debugger and report what value for typeId
you see in EncryptedSharedPreferences.getDecryptedObject
?
ap...@google.com <ap...@google.com> #3
The error reporting could be better. The next version will at least make it more clear what's going wrong.
ap...@google.com <ap...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit 168d2c90f6a88ff922d2ea72ac3a932c900e590b
Author: Daniel Angell <danielangell@google.com>
Date: Thu Oct 13 14:50:01 2022
Improve error reporting for getDecryptedObject()
Bug: 241699427
Test: Test suite passes. Difficult to add tests for specifically.
Change-Id: If6438b611a5a9ead4ae462cfa79f266ca65bc50d
M security/security-crypto/src/main/java/androidx/security/crypto/EncryptedSharedPreferences.java
https://android-review.googlesource.com/2254976
Branch: androidx-main
commit 168d2c90f6a88ff922d2ea72ac3a932c900e590b
Author: Daniel Angell <danielangell@google.com>
Date: Thu Oct 13 14:50:01 2022
Improve error reporting for getDecryptedObject()
Bug: 241699427
Test: Test suite passes. Difficult to add tests for specifically.
Change-Id: If6438b611a5a9ead4ae462cfa79f266ca65bc50d
M security/security-crypto/src/main/java/androidx/security/crypto/EncryptedSharedPreferences.java
jb...@google.com <jb...@google.com> #5
This has been fixed internally and will be available in the Fragment 1.5.0-alpha01
release.
Description
Component used: Fragment
ViewModel added new APIs for providing information from
CreationExtras
ViewModelStoreOwner
s to ViewModel factories. This should be integrated intoFragment
so that custom factories can rely on these extras being available.