diff options
| author | 2019-03-18 14:12:56 -0700 | |
|---|---|---|
| committer | 2019-03-18 17:58:59 -0700 | |
| commit | fe6e96e5ddc940e0521beb496ed2edeee3beb25b (patch) | |
| tree | 229ea896462274d67b6dafcdf490b20c04dfefc4 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 6b243887f3dec6eaba1101a106a8a4903dda9d37 (diff) | |
Specify the index for ENUMINPUT
If the index is not initialized, then whatever is currently occupying
that stack address will be used for index value. But only index = 0 is
valid.
Also, initialize to zero some of the reserved fields, as required by the
docs.
Test: dumpsys input (and ensure that video device is associated with the
touch input device)
Test: review v4l docs for all ioctl's used
Fixes: 128854899
Change-Id: I7e1c4cf4598428251ae5ce2ea379cdaceb0134c3
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions