[Presence] Pass DeviceIdentityMetadata materials to PresenceDevice during advertisement decryption

PiperOrigin-RevId: 540715111
This commit is contained in:
Anthony Rueda
2023-06-15 16:00:50 -07:00
committed by Copybara-Service
parent 5737b867ed
commit c829632879
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ message SharedCredential {
// The type assigned to the credential. The CredentialType is used to
// determine whether a device identity credential or account based identity
// credential is used for decryption.
CredentialType type = 11;
CredentialType credential_type = 11;
// The encrypted Metadata in bytes. Encrypted by the v1
// metadata_encryption_key.
+4 -1
View File
@@ -24,7 +24,7 @@ option optimize_for = LITE_RUNTIME;
// The metadata of a device. Contains confidential data not to be broadcasted
// directly in OTA.
// NEXT_ID=4
// NEXT_ID=5
message DeviceIdentityMetaData {
// The type of the device.
DeviceType device_type = 1;
@@ -35,6 +35,9 @@ message DeviceIdentityMetaData {
// The ChromeOS team requires the BT mac address for debugging purposes
// temporarily. This should be removed by the end of this year.
bytes bluetooth_mac_address = 3;
// The instance type (user profile) related to the metadata.
InstanceType instance_type = 4;
}
// The metadata of a device.