Revert^2 "Move DEVICE_ID_DEFAULT from VDM to Context"
Reverted change-id: 4f2f43de4cf9207231964baa407d7dff26678be4
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
21 files changed