Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c3ebfc8 authored by Jooyung Han's avatar Jooyung Han
Browse files

aidl: Set explicit default values

This fixes warnings in AIDL files(-Wenum-explicit-default).

No semantic changes. (Explicit values are all zero enumerators.)

Fixes: 179853367
Test: mma in hardware/interfaces/keymaster
Change-Id: If5a70da3efd05a344c39ef1d2e73b7ec2b894f33
parent 3a966323
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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: