소스 검색

Fixed focus in AuthenticarActivity for changing password so that server URL is not editable

David A. Velasco 12 년 전
부모
커밋
af4b0bc90b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 2 - 0
src/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -253,7 +253,9 @@ implements  OnRemoteOperationListener, OnSslValidatorListener, OnFocusChangeList
         if (mAction == ACTION_UPDATE_TOKEN) {
             /// lock things that should not change
             mHostUrlInput.setEnabled(false);
+            mHostUrlInput.setFocusable(false);
             mUsernameInput.setEnabled(false);
+            mUsernameInput.setFocusable(false);
             mOAuth2Check.setVisibility(View.GONE);
             if (!mServerIsValid && mOcServerChkOperation == null) {
                 checkOcServer();