Merge "Fix type for temp variable" into lmp-dev
This commit is contained in:
commit
9e24c319c3
@ -1851,7 +1851,7 @@ void SwitchInputMapper::processSwitch(int32_t switchCode, int32_t switchValue) {
|
|||||||
|
|
||||||
void SwitchInputMapper::sync(nsecs_t when) {
|
void SwitchInputMapper::sync(nsecs_t when) {
|
||||||
if (mUpdatedSwitchMask) {
|
if (mUpdatedSwitchMask) {
|
||||||
int32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask;
|
uint32_t updatedSwitchValues = mSwitchValues & mUpdatedSwitchMask;
|
||||||
NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask);
|
NotifySwitchArgs args(when, 0, updatedSwitchValues, mUpdatedSwitchMask);
|
||||||
getListener()->notifySwitch(&args);
|
getListener()->notifySwitch(&args);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user