Fix WiFi configuration on Android 5

WiFi configuration failed apparently due to a timing issue in UI
automation. This used to work at some point; maybe the new issue is
caused by changes in the uiautomator package. Therefore, this also
updates this package to the latest version that is tested most
thoroughly on our side.

Issue: INFRA-164
Issue: INFRA-30
Change-Id: I4c91d2521bab1a69a1907bdccf8d4488cff75965
diff --git a/deploy.py b/deploy.py
index b29c5dd..a245d19 100755
--- a/deploy.py
+++ b/deploy.py
@@ -300,6 +300,7 @@
         dut(text=networks[ssid]['security']) \
             .click()
         password_field = dut(resourceId='com.android.settings:id/password')
+        time.sleep(1)
         if 'password' in networks[ssid] and networks[ssid]['password']:
             if not password_field.exists:
                 dut(text='Cancel').click()
diff --git a/requirements.txt b/requirements.txt
index 54b46c3..54d2756 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1 +1 @@
-uiautomator==0.3.2
+uiautomator==0.3.6