mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
[Android] Fix a null pointer exception.
This commit is contained in:
@ -29,6 +29,8 @@ public class InputConfigActivity extends ListActivity {
|
||||
|
||||
static public String getInputDesc(InputDevice input)
|
||||
{
|
||||
if (input == null)
|
||||
return "null"; // Happens when the inputdevice is from an unknown source
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
|
||||
return input.getDescriptor();
|
||||
else
|
||||
|
Reference in New Issue
Block a user