Merge "cts: wait for home activity before checking it is visible" into oreo-mr1-cts-dev