mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-01 22:42:22 +00:00
Simplify context retrieving in GPLWaiverDialogFragment, Application context is not necessary in this case.
This commit is contained in:
parent
4b86d80408
commit
f162088238
@ -44,7 +44,7 @@ public final class GPLWaiverDialogFragment extends DialogFragment
|
||||
final File[] libs = new File(getActivity().getApplicationInfo().dataDir, "/cores").listFiles();
|
||||
for (final File lib : libs)
|
||||
{
|
||||
ModuleWrapper module = new ModuleWrapper(getActivity().getApplicationContext(), lib);
|
||||
ModuleWrapper module = new ModuleWrapper(getActivity(), lib);
|
||||
|
||||
boolean gplv3 = module.getCoreLicense().equals("GPLv3");
|
||||
boolean gplv2 = module.getCoreLicense().equals("GPLv2");
|
||||
|
Loading…
x
Reference in New Issue
Block a user