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 tag 'oc-android-1-3-22' into oauth_login
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
activity
/
AccountSelectActivity.java
diff --git
a/src/com/owncloud/android/ui/activity/AccountSelectActivity.java
b/src/com/owncloud/android/ui/activity/AccountSelectActivity.java
index
31b59d4
..
9a04501
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/AccountSelectActivity.java
+++ b/
src/com/owncloud/android/ui/activity/AccountSelectActivity.java
@@
-95,10
+95,10
@@
public class AccountSelectActivity extends SherlockListActivity implements
/// the account set as default changed since this activity was created
// trigger synchronization
/// the account set as default changed since this activity was created
// trigger synchronization
- ContentResolver.cancelSync(null, AccountAuthenticator.AUTH
_TOKEN_TYPE
);
+ ContentResolver.cancelSync(null, AccountAuthenticator.AUTH
ORITY
);
Bundle bundle = new Bundle();
bundle.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
Bundle bundle = new Bundle();
bundle.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
- ContentResolver.requestSync(AccountUtils.getCurrentOwnCloudAccount(this), AccountAuthenticator.AUTH
_TOKEN_TYPE
, bundle);
+ ContentResolver.requestSync(AccountUtils.getCurrentOwnCloudAccount(this), AccountAuthenticator.AUTH
ORITY
, bundle);
// restart the main activity
Intent i = new Intent(this, FileDisplayActivity.class);
// restart the main activity
Intent i = new Intent(this, FileDisplayActivity.class);
@@
-136,7
+136,7
@@
public class AccountSelectActivity extends SherlockListActivity implements
Intent intent = new Intent(
android.provider.Settings.ACTION_ADD_ACCOUNT);
intent.putExtra("authorities",
Intent intent = new Intent(
android.provider.Settings.ACTION_ADD_ACCOUNT);
intent.putExtra("authorities",
- new String[] { AccountAuthenticator.AUTH
_TOKEN_TYPE
});
+ new String[] { AccountAuthenticator.AUTH
ORITY
});
startActivity(intent);
return true;
}
startActivity(intent);
return true;
}