diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2019-03-13 20:00:20 +0800 |
---|---|---|
committer | mwasilew <milosz.wasilewski@linaro.org> | 2019-03-14 14:17:20 +0000 |
commit | 5254a9e94101fc333e9109d8d524ad215de383ba (patch) | |
tree | 246d2d4700167b9acb96baf9005b763aaa900014 | |
parent | dcd149f5bb1387cd02c937ee72e4224d9adbed45 (diff) |
adb_join_wifi: use new non-debuggable apk
to resolve the problem reported here:
https://bugs.linaro.org/show_bug.cgi?id=4236
As there is a problem to fix the cached apk in lab
as mentioned here[1], we changed to use new file name
to workaround the lab problem.
[1]: https://projects.linaro.org/browse/LSS-432?focusedCommentId=76245&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-76245
Change-Id: Ibc51a802117cecfe1d15b288bac9b55f6e0feec4
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-x | automated/lib/android-test-lib | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/automated/lib/android-test-lib b/automated/lib/android-test-lib index 17c03fa..6525d49 100755 --- a/automated/lib/android-test-lib +++ b/automated/lib/android-test-lib @@ -325,8 +325,11 @@ adb_join_wifi() { # Try to connect to wifi if found the WIFI AP information if [ -n "${AP_SSID}" ] && [ -n "${AP_KEY}" ]; then - wget http://testdata.validation.linaro.org/apks/wifi/wifi.apk - adb install wifi.apk + # source files are here: + # https://github.com/steinwurf/adb-join-wifi + apk_url="http://testdata.linaro.org/apks/wifi/AdbJoinWifi-nodegbug-OMR1-support.apk" + wget ${apk_url} -O wifi.apk + adb install -r wifi.apk adb shell am start -n com.steinwurf.adbjoinwifi/.MainActivity -e ssid "${AP_SSID}" -e password_type WPA -e password "${AP_KEY}" fi } |