Skip to content
Commit 7b7d2af9 authored by Marco Loaiza's avatar Marco Loaiza
Browse files

Revert^2 "Move DEVICE_ID_DEFAULT from VDM to Context"

Reverted change-id: 4f2f43de

Reason for revert: Fixed original breakage(b/266387569)

Original Description:

Move DEVICE_ID_DEFAULT from VDM to Context

- DEVICE_ID_DEFAULT refers to the non-virtual default device,
  having this constant in VDM might cause the impression that
  methods that return or make use of this are refering to a
  virtual device when they are not.
- This constant is not extensibly used in VDM, including the method
  isValidVirtualDeviceId for which DEVICE_ID_DEFAULT returns false,
  making it not very clear why this should live in VDM.
- For consistency also move DEVICE_ID_INVALID

Bug: 266178780
Test: build locally
Change-Id: Ie427a62aeb0bc09a1d15c29b142e9a03f3b5d26d
parent 268ad571
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment