Commit 51ee0919 authored by Romain Hunault's avatar Romain Hunault

Fix white page when back to Settings from MicroG

parent 9535c1d0
......@@ -30,6 +30,11 @@ public class MicroGSettings extends Fragment {
Intent intent = new Intent("android.intent.action.MAIN");
intent.setComponent(new ComponentName("com.google.android.gms", "org.microg.gms.ui.SettingsActivity"));
startActivity(intent);
Activity activity = getActivity();
if (activity != null) {
activity.finish();
}
}
}
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