Adding missing breaks in BnSurfaceComposer::onTransact
Change-Id: Ie369e10f96059f940e73a3d9e7c4756465b4260c
This commit is contained in:
parent
5690f917fa
commit
8839b51214
@ -247,13 +247,13 @@ status_t BnSurfaceComposer::onTransact(
|
|||||||
int32_t mode = data.readInt32();
|
int32_t mode = data.readInt32();
|
||||||
status_t res = turnElectronBeamOff(mode);
|
status_t res = turnElectronBeamOff(mode);
|
||||||
reply->writeInt32(res);
|
reply->writeInt32(res);
|
||||||
}
|
} break;
|
||||||
case TURN_ELECTRON_BEAM_ON: {
|
case TURN_ELECTRON_BEAM_ON: {
|
||||||
CHECK_INTERFACE(ISurfaceComposer, data, reply);
|
CHECK_INTERFACE(ISurfaceComposer, data, reply);
|
||||||
int32_t mode = data.readInt32();
|
int32_t mode = data.readInt32();
|
||||||
status_t res = turnElectronBeamOn(mode);
|
status_t res = turnElectronBeamOn(mode);
|
||||||
reply->writeInt32(res);
|
reply->writeInt32(res);
|
||||||
}
|
} break;
|
||||||
default:
|
default:
|
||||||
return BBinder::onTransact(code, data, reply, flags);
|
return BBinder::onTransact(code, data, reply, flags);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user