Merge "Update the ensure activities visible condition for activity home stack."