diff --git a/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/HardwareAuthToken.aidl b/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/HardwareAuthToken.aidl index db1df2b050..4f21cba106 100644 --- a/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/HardwareAuthToken.aidl +++ b/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/HardwareAuthToken.aidl @@ -21,7 +21,7 @@ parcelable HardwareAuthToken { long challenge; long userId; long authenticatorId; - android.hardware.keymaster.HardwareAuthenticatorType authenticatorType; + android.hardware.keymaster.HardwareAuthenticatorType authenticatorType = android.hardware.keymaster.HardwareAuthenticatorType.NONE; android.hardware.keymaster.Timestamp timestamp; byte[] mac; } diff --git a/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/VerificationToken.aidl b/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/VerificationToken.aidl index 0633765cac..b116dac925 100644 --- a/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/VerificationToken.aidl +++ b/keymaster/aidl/aidl_api/android.hardware.keymaster/current/android/hardware/keymaster/VerificationToken.aidl @@ -20,6 +20,6 @@ package android.hardware.keymaster; parcelable VerificationToken { long challenge; android.hardware.keymaster.Timestamp timestamp; - android.hardware.keymaster.SecurityLevel securityLevel; + android.hardware.keymaster.SecurityLevel securityLevel = android.hardware.keymaster.SecurityLevel.SOFTWARE; byte[] mac; } diff --git a/keymaster/aidl/android/hardware/keymaster/HardwareAuthToken.aidl b/keymaster/aidl/android/hardware/keymaster/HardwareAuthToken.aidl index 58602aaa49..99b036aefe 100644 --- a/keymaster/aidl/android/hardware/keymaster/HardwareAuthToken.aidl +++ b/keymaster/aidl/android/hardware/keymaster/HardwareAuthToken.aidl @@ -55,7 +55,7 @@ parcelable HardwareAuthToken { * authenticatorType describes the type of authentication that took place, e.g. password or * fingerprint. */ - HardwareAuthenticatorType authenticatorType; + HardwareAuthenticatorType authenticatorType = HardwareAuthenticatorType.NONE; /** * timestamp indicates when the user authentication took place, in milliseconds since some diff --git a/keymaster/aidl/android/hardware/keymaster/VerificationToken.aidl b/keymaster/aidl/android/hardware/keymaster/VerificationToken.aidl index f0532543c2..5efd937f38 100644 --- a/keymaster/aidl/android/hardware/keymaster/VerificationToken.aidl +++ b/keymaster/aidl/android/hardware/keymaster/VerificationToken.aidl @@ -43,7 +43,7 @@ parcelable VerificationToken { /** * SecurityLevel of the secure environment that generated the token. */ - SecurityLevel securityLevel; + SecurityLevel securityLevel = SecurityLevel.SOFTWARE; /** * 32-byte HMAC-SHA256 of the above values, computed as: