Skip to content
Commit 46e7cc14 authored by Siarhei Vishniakou's avatar Siarhei Vishniakou
Browse files

Use unique_fd for uhid device

It is safer to use unique_fd because we don't have to worry about
closing it.

Bug: none
Test: atest NintendoSwitchProTest
Change-Id: I7bb0fb23ede65cf503f59a6e48cd708f0e99bba8
parent a3117ca4
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