mirror of
https://github.com/nextcloud/android.git
synced 2024-11-25 14:45:47 +03:00
Ensure, that user switching back using the task switcher also must have
accounts
This commit is contained in:
parent
92528fdc66
commit
40ee1019bc
1 changed files with 9 additions and 0 deletions
|
@ -73,6 +73,15 @@ public class LandingActivity extends SherlockFragmentActivity implements OnClick
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected void onRestoreInstanceState(Bundle savedInstanceState) {
|
||||||
|
super.onRestoreInstanceState(savedInstanceState);
|
||||||
|
// Check, if there are ownCloud accounts
|
||||||
|
if(!accountsAreSetup()){
|
||||||
|
showDialog(DIALOG_SETUP_ACCOUNT);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog onCreateDialog(int id) {
|
protected Dialog onCreateDialog(int id) {
|
||||||
Dialog dialog;
|
Dialog dialog;
|
||||||
|
|
Loading…
Reference in a new issue