mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Merge pull request #649 from carstendev/rotation-crash-fix
Fix for #448. Rotation change in FolderPicker caused app crash.
This commit is contained in:
commit
bfb0fdf763
1 changed files with 1 additions and 1 deletions
|
@ -120,6 +120,7 @@ public class OCFileListFragment extends ExtendedListFragment {
|
|||
mSystemBarColor = getResources().getColor(R.color.primary_dark);
|
||||
mProgressBarActionModeColor = getResources().getColor(R.color.action_mode_background);
|
||||
mProgressBarColor = getResources().getColor(R.color.primary);
|
||||
mMultiChoiceModeListener = new MultiChoiceModeListener();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -529,7 +530,6 @@ public class OCFileListFragment extends ExtendedListFragment {
|
|||
*/
|
||||
private void setChoiceModeAsMultipleModal(Bundle savedInstanceState) {
|
||||
setChoiceMode(ListView.CHOICE_MODE_MULTIPLE_MODAL);
|
||||
mMultiChoiceModeListener = new MultiChoiceModeListener();
|
||||
if (savedInstanceState != null) {
|
||||
mMultiChoiceModeListener.loadStateFrom(savedInstanceState);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue