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("", "org.microg.gms.ui.SettingsActivity"));
Activity activity = getActivity();
if (activity != null) {
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