Skip to content

Commit 17c53ca

Browse files
DeviceInfracopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 876030789
1 parent 0dd641a commit 17c53ca

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/java/com/google/devtools/deviceinfra/ext/devicemanagement/device/platform/android/realdevice/AndroidRealDeviceDelegate.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ public abstract class AndroidRealDeviceDelegate {
198198
.put(FastbootProperty.AR_FORCE_UPDATE, Dimension.Name.AR_FORCE_UPDATE)
199199
.put(FastbootProperty.AR_UPDATE_ALLOW, Dimension.Name.AR_UPDATE_ALLOW)
200200
.put(FastbootProperty.SERIALNO, Dimension.Name.SERIAL)
201+
// We intentionally map return of `fastboot getvar product` to TYPE to make it aligned
202+
// with the value populated by `adb getprop ro.product.name`. (ref: b/484175486)
203+
.put(FastbootProperty.PRODUCT, Dimension.Name.TYPE)
201204
.buildOrThrow();
202205

203206
protected AndroidRealDeviceDelegate(

0 commit comments

Comments
 (0)