소스 검색

fix compile error after merge

Andy Scherzinger 9 년 전
부모
커밋
8487793056
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/com/owncloud/android/authentication/AuthenticatorActivity.java

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

@@ -1042,8 +1042,8 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
         if (result.isSuccess()) {
             boolean success = false;
             String username;
-            if (result.getData().get(0) instanceof UserInfo) {
-                username = ((UserInfo) result.getData().get(0)).mDisplayName;
+            if (result.getData().get(0) instanceof GetRemoteUserInfoOperation.UserInfo) {
+                username = ((GetRemoteUserInfoOperation.UserInfo) result.getData().get(0)).mDisplayName;
             } else {
                 username = (String) result.getData().get(0);
             }