mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 22:49:00 +01:00
Merge pull request #4069 from sigmabeta/android-fix-crash
Fix crash introduced by input config code
This commit is contained in:
commit
fef0ff85b9
@ -105,6 +105,8 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
|
||||
public void onViewCreated(View view, Bundle savedInstanceState)
|
||||
{
|
||||
Button doneButton = (Button) view.findViewById(R.id.done_control_config);
|
||||
if (doneButton != null)
|
||||
{
|
||||
doneButton.setOnClickListener(new View.OnClickListener()
|
||||
{
|
||||
@Override
|
||||
@ -114,6 +116,7 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart()
|
||||
|
Loading…
x
Reference in New Issue
Block a user