fix(operation): correct TOO_MUCH_DATA fallback to match AOSP ResponseCode

AOSP ResponseCode.TOO_MUCH_DATA = 21, not 29.
This commit is contained in:
Enginex0
2026-03-17 14:16:00 +01:00
parent e74dd8318d
commit ea7e770a6c
@@ -223,7 +223,7 @@ class SoftwareOperation(private val txId: Long, keyPair: KeyPair, params: KeyMin
private object KeystoreErrorCodes { private object KeystoreErrorCodes {
val tooMuchData: Int by lazy { val tooMuchData: Int by lazy {
resolveField("android.system.keystore2.ResponseCode", "TOO_MUCH_DATA", 29) resolveField("android.system.keystore2.ResponseCode", "TOO_MUCH_DATA", 21)
} }
val invalidOperationHandle: Int by lazy { val invalidOperationHandle: Int by lazy {