Merge "Fix type for temp variable" into lmp-dev

This commit is contained in:
Michael Wright 2014-09-04 21:46:59 +00:00 committed by Android (Google) Code Review
commit 9e24c319c3

View File

@ -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);