Fix Negative button not found issue for CTS test

Wait until the device is found so that activate the
negative button.

Test: atest CtsCompanionDeviceManagerCoreTestCases
      atest CtsCompanionDeviceManagerUiAutomationTestCases
      atest CtsOsTestCases:CompanionDeviceManagerTest

Fix: 229012753
Change-Id: Ifdd23268f19e864b511888c60243dd41e8488690
1 file changed