mirror of
https://github.com/nextcloud/android.git
synced 2024-11-22 13:15:35 +03:00
Merge 3ef66ea824
into 70ccb72505
This commit is contained in:
commit
8a5ff7ed29
1 changed files with 5 additions and 3 deletions
|
@ -83,9 +83,11 @@ public class WhatsNewActivity extends FragmentActivity implements ViewPager.OnPa
|
|||
String[] urls = getResources().getStringArray(R.array.whatsnew_urls);
|
||||
|
||||
// Sometimes, accounts are not deleted when you uninstall the application so we'll do it now
|
||||
AccountManager am = (AccountManager) getSystemService(ACCOUNT_SERVICE);
|
||||
for (Account account : AccountUtils.getAccounts(this)) {
|
||||
am.removeAccount(account, null, null);
|
||||
if (isFirstRun()) {
|
||||
AccountManager am = (AccountManager) getSystemService(ACCOUNT_SERVICE);
|
||||
for (Account account : AccountUtils.getAccounts(this)) {
|
||||
am.removeAccount(account, null, null);
|
||||
}
|
||||
}
|
||||
|
||||
boolean showWebView = urls.length > 0;
|
||||
|
|
Loading…
Reference in a new issue