Description[Android] Properly validate potentially null InputDevice
As InputDevice.getDevice() makes no guarantees that the returned device
will be non-null, always validate the return value before using in a
meaningful way as a Gamepad device.
BUG=421168
Committed: https://crrev.com/55f9a7718acb7e0e44d61d6ea55a91179d774ce0
Cr-Commit-Position: refs/heads/master@{#299016}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|