Skip to content
Commit 8970010a authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Check that InputDevice isn't null and add annotations

The API 'getDevice' can return null. Let's make sure null isn't
dereferenced. Also, add nullability annotations to make it easier to
follow.

Bug: 227733127
Test: build only
Change-Id: Ice514f27d4347528d009969174f09078dfa2afac
parent d0923a21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment