mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 07:36:10 -04:00
Support XR devices for QuickShare DeviceType
PiperOrigin-RevId: 758009685
This commit is contained in:
@@ -101,6 +101,7 @@ bool IsKnownDeviceValue(int32_t value) {
|
||||
case 3:
|
||||
case 4:
|
||||
case 5:
|
||||
case 6:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
|
||||
@@ -57,6 +57,8 @@ enum class ShareTargetType {
|
||||
kCar = 4,
|
||||
// A foldable.
|
||||
kFoldable = 5,
|
||||
// An XR device.
|
||||
kXR = 6,
|
||||
};
|
||||
// LINT.ThenChange(
|
||||
// //depot/google3/location/nearby/cpp/sharing/clients/proto/share_target.proto:ShareTarget.ShareTargetType,
|
||||
|
||||
Reference in New Issue
Block a user