[ACTS] fix flaky test

Check aware available before set wifi and location state.
Clear the event after all setup finished.

Bug: 147829834
Test: acts DiscoveryTest
Change-Id: I2ed9f81b124186367fa3807de93b92a64c31c8f6
1 file changed
tree: 7120539ab19cc0eaa00ecd7dcabe1cbe37ed2f1c
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg