Fix error for compiler update.
frameworks/native/services/inputflinger/reader/mapper/SensorInputMapper.cpp
:306:23: error: declaration shadows a local variable [-Werror,-Wshadow]
for (const auto& [sensorType, sensor] : mSensors) {
^
Bug: 193903230
Test: build with the next compiler
Change-Id: I8087db738cfbef82e8264bbbc22515361bd11bf1
(cherry picked from commit 823144f3)
Loading
Please register or sign in to comment