forked from MarcoBuster/Magisk
Prevent NPE
This commit is contained in:
parent
b4ecd93f1c
commit
a31cddbe7b
@ -258,6 +258,7 @@ public class MagiskFragment extends Fragment
|
|||||||
spinner.setEnabled(false);
|
spinner.setEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
items.add(getString(R.string.cannot_auto_detect));
|
items.add(getString(R.string.cannot_auto_detect));
|
||||||
|
if (mm.blockList != null)
|
||||||
items.addAll(mm.blockList);
|
items.addAll(mm.blockList);
|
||||||
}
|
}
|
||||||
ArrayAdapter<String> adapter = new ArrayAdapter<>(getActivity(),
|
ArrayAdapter<String> adapter = new ArrayAdapter<>(getActivity(),
|
||||||
|
Loading…
Reference in New Issue
Block a user