Check for valid last reported deviceId when starting service

If last reported virtual deviceId has been removed/closed since
the latest activity was started, updateDeviceId would throw an
exception due to the deviceId being invalid.

Bug: 264250568
Test: atest DeviceAssociationTest
Change-Id: I5f57c0361f76646001cc606e819969b0114946f7
1 file changed