diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2019-12-19 02:40:04 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2019-12-19 02:40:04 +0000 |
commit | 192a07eb654348f0463d5ea3a099f668b876aaf7 (patch) | |
tree | 42f85be93a16ab6b91058bf94df6e88e4bc59e61 | |
parent | cdd4b2aeba65f4448d812e984ddd9062315ed917 (diff) | |
parent | 81984d8bea1e4f99348f17ad73a98568ff576221 (diff) | |
download | platform_testing-192a07eb654348f0463d5ea3a099f668b876aaf7.tar.gz |
Merge "Add optional search contact method for CUJ" into qt-dev am: 81984d8bea
Change-Id: If91148d55b5949931383346278f003260bf16c01
-rw-r--r-- | libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java b/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java index 0c07aa6d0..7ef499caa 100644 --- a/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java +++ b/libraries/app-helpers/interfaces/common/src/android/platform/helpers/IContactsHelper.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 The Android Open Source Project + * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,19 @@ public interface IContactsHelper extends IAppHelper { } /** + * Setup expectation: Contacts is open + * + * <p>Clicks search field and inputs contact to search. Provide alternative ways to input + * contact. + * + * @param contact The contact to search. + * @param useKeyboard Use KeyEvent to input contact if true, use UiObject2 setText otherwise. + */ + public default void searchForContact(String contact, boolean useKeyboard) { + throw new UnsupportedOperationException("Not yet implemented."); + } + + /** * Setup expectations: The search results of contact showed. * <p> * Selects the contact by the specific index. |