Adding missing breaks in BnSurfaceComposer::onTransact

Change-Id: Ie369e10f96059f940e73a3d9e7c4756465b4260c
This commit is contained in:
Fredrik Lanker 2011-01-12 13:44:12 +01:00 committed by Johan Redestig
parent 5690f917fa
commit 8839b51214

View File

@ -247,13 +247,13 @@ status_t BnSurfaceComposer::onTransact(
int32_t mode = data.readInt32();
status_t res = turnElectronBeamOff(mode);
reply->writeInt32(res);
}
} break;
case TURN_ELECTRON_BEAM_ON: {
CHECK_INTERFACE(ISurfaceComposer, data, reply);
int32_t mode = data.readInt32();
status_t res = turnElectronBeamOn(mode);
reply->writeInt32(res);
}
} break;
default:
return BBinder::onTransact(code, data, reply, flags);
}