Commit 1a5085f4 authored by Adrien Béraud's avatar Adrien Béraud

account preference: use child fragment manager when appropriate

Change-Id: I12a2dcedc03ac884e03830f8775448608e9b540e
parent 242876d5
......@@ -162,7 +162,7 @@ public class GeneralAccountFragment extends BasePreferenceFragment<GeneralAccoun
@Override
public void onDisplayPreferenceDialog(Preference preference) {
FragmentManager fragmentManager = requireFragmentManager();
FragmentManager fragmentManager = getChildFragmentManager();
if (fragmentManager.findFragmentByTag(DIALOG_FRAGMENT_TAG) != null) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment