Avoid running hasCompanionDevices on main thread

Fixes: 63348899, 63309685
Test: Ensure b/63348899 doesn't reproduce
Change-Id: I93717bf7c3fab2ca32ec7cedf1cbd64fe1b6bbf2
1 file changed