From b1dfb11d2d7fd747ccec7f6353183308e40cd0d2 Mon Sep 17 00:00:00 2001 From: hai007 Date: Thu, 31 Aug 2023 10:23:07 -0700 Subject: [PATCH] [Presence] Added more device types: foldable, automotive, and speaker. PiperOrigin-RevId: 561692221 --- internal/proto/metadata.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/proto/metadata.proto b/internal/proto/metadata.proto index f95a70ad..b341e200 100644 --- a/internal/proto/metadata.proto +++ b/internal/proto/metadata.proto @@ -66,6 +66,7 @@ message Metadata { } // The type of the device. +// LINT.IfChange enum DeviceType { // The type of the device is unknown. DEVICE_TYPE_UNKNOWN = 0; @@ -94,7 +95,14 @@ enum DeviceType { // The device is a foldable. DEVICE_TYPE_FOLDABLE = 8; + + // The device is an automotive. + DEVICE_TYPE_AUTOMOTIVE = 9; + + // The device is a speaker. + DEVICE_TYPE_SPEAKER = 10; } +// LINT.ThenChange(//depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/presence/PresenceDevice.java) // The instance type of the metadata. // LINT.IfChange