mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 09:17:44 +00:00
Fix crash for dynamic permissions + background directory load
This commit is contained in:
parent
81cd20062c
commit
425d6b8adf
@ -213,7 +213,10 @@ public class ContactSelectionListFragment extends Fragment
|
|||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
selectedContacts.clear();
|
selectedContacts.clear();
|
||||||
getLoaderManager().restartLoader(0, null, this);
|
|
||||||
|
if (!isDetached() && !isRemoving() && getActivity() != null && !getActivity().isFinishing()) {
|
||||||
|
getLoaderManager().restartLoader(0, null, this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user