to get the api support earlyreturn param this patch modifies a signature of the api
Change-Id: I170937a359c80d88755b4cc7f93e3bb7df49c12c
*/
static std::vector<std::shared_ptr<AccessibleNode>> findObjects(
const std::shared_ptr<UiDevice> device, const std::shared_ptr<UiSelector> selector,
- const std::shared_ptr<AccessibleNode> root);
+ const std::shared_ptr<AccessibleNode> root, bool earlyReturn = false);
private:
/**
std::vector<std::shared_ptr<AccessibleNode>> Comparer::findObjects(const std::shared_ptr<UiDevice> device,
const std::shared_ptr<UiSelector> selector,
+ const std::shared_ptr<AccessibleNode> root, bool earlyReturn)
const std::shared_ptr<AccessibleNode> root)
{
Comparer comparer(device, selector, false);