Fix type for temp variable
Change-Id: I8e2d229da326e5182692f94660336169fb249da7
This commit is contained in:
parent
bcbf97ef8f
commit
3da3b8436c
@ -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