diff options
Diffstat (limited to 'libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java')
-rw-r--r-- | libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java b/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java index 88daf88..ed9a795 100644 --- a/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java +++ b/libs/UiAutomatorLib/src/com/android/afwtest/uiautomator/pages/gms/EnterPasswordPage.java @@ -51,6 +51,18 @@ public final class EnterPasswordPage extends UiPage { } /** + * Constructor. + * + * @param uiDevice {@link UiDevice} object + * @param config {@link TestConfig} object holding test configurations + * @param customPasswordKey property key of the password in {@link TestConfig} + */ + public EnterPasswordPage(UiDevice uiDevice, TestConfig config, String customPasswordKey) { + super(uiDevice, config); + mPassword = config.getProperty(customPasswordKey); + } + + /** * {@inheritDoc} */ @Override |