mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
FIX: IMPORTANT, to keep the life cicle of fragments, super() must be called in @onSaveInstaceState, at the holder Activity
This commit is contained in:
parent
e8ae33b628
commit
dcde6e9283
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ public class FileDetailActivity extends SherlockFragmentActivity implements File
|
|||
|
||||
@Override
|
||||
protected void onSaveInstanceState(Bundle outState) {
|
||||
super.onSaveInstanceState(outState);
|
||||
outState.putBoolean(KEY_WAITING_TO_PREVIEW, mWaitingToPreview);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue