mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2024-12-28 17:51:50 +01:00
fix a crash at first startup after granting storage permission
This commit is contained in:
parent
3bce99b7e3
commit
ccb1a74422
@ -61,7 +61,8 @@ public class MainActivity extends SimpleActivity implements ItemsFragment.ItemIn
|
||||
final ItemsFragment fragment = new ItemsFragment();
|
||||
fragment.setArguments(bundle);
|
||||
fragment.setListener(this);
|
||||
getSupportFragmentManager().beginTransaction().replace(R.id.fragment_holder, fragment).addToBackStack(path).commit();
|
||||
getSupportFragmentManager().beginTransaction().replace(R.id.fragment_holder, fragment).addToBackStack(path)
|
||||
.commitAllowingStateLoss();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user