projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #946 from owncloud/upgrading_account_manager
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
authentication
/
AuthenticatorActivity.java
diff --git
a/src/com/owncloud/android/authentication/AuthenticatorActivity.java
b/src/com/owncloud/android/authentication/AuthenticatorActivity.java
index
6514ef7
..
f245900
100644
(file)
--- a/
src/com/owncloud/android/authentication/AuthenticatorActivity.java
+++ b/
src/com/owncloud/android/authentication/AuthenticatorActivity.java
@@
-1483,6
+1483,13
@@
public class AuthenticatorActivity extends AccountAuthenticatorActivity
);
\r
}
\r
\r
);
\r
}
\r
\r
+ // include account version with the new account
\r
+ mAccountMgr.setUserData(
\r
+ mAccount,
\r
+ Constants.KEY_OC_ACCOUNT_VERSION,
\r
+ Integer.toString(AccountUtils.ACCOUNT_VERSION)
\r
+ );
\r
+
\r
/// add the new account as default in preferences, if there is none already
\r
Account defaultAccount = AccountUtils.getCurrentOwnCloudAccount(this);
\r
if (defaultAccount == null) {
\r
/// add the new account as default in preferences, if there is none already
\r
Account defaultAccount = AccountUtils.getCurrentOwnCloudAccount(this);
\r
if (defaultAccount == null) {
\r