Fixed focus in AuthenticarActivity for changing password so that server URL is not...
[pub/Android/ownCloud.git] / src / com / owncloud / android / authentication / AuthenticatorActivity.java
index 015be51..b929f63 100644 (file)
@@ -253,7 +253,9 @@ implements  OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
         if (mAction == ACTION_UPDATE_TOKEN) {\r
             /// lock things that should not change\r
             mHostUrlInput.setEnabled(false);\r
         if (mAction == ACTION_UPDATE_TOKEN) {\r
             /// lock things that should not change\r
             mHostUrlInput.setEnabled(false);\r
+            mHostUrlInput.setFocusable(false);\r
             mUsernameInput.setEnabled(false);\r
             mUsernameInput.setEnabled(false);\r
+            mUsernameInput.setFocusable(false);\r
             mOAuth2Check.setVisibility(View.GONE);\r
             if (!mServerIsValid && mOcServerChkOperation == null) {\r
                 checkOcServer(); \r
             mOAuth2Check.setVisibility(View.GONE);\r
             if (!mServerIsValid && mOcServerChkOperation == null) {\r
                 checkOcServer(); \r