From 8839b51214d9d0e314cad2fbe3acd4877fbbb839 Mon Sep 17 00:00:00 2001 From: Fredrik Lanker Date: Wed, 12 Jan 2011 13:44:12 +0100 Subject: [PATCH] Adding missing breaks in BnSurfaceComposer::onTransact Change-Id: Ie369e10f96059f940e73a3d9e7c4756465b4260c --- libs/surfaceflinger_client/ISurfaceComposer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/surfaceflinger_client/ISurfaceComposer.cpp b/libs/surfaceflinger_client/ISurfaceComposer.cpp index 969ee7985..a2a5455c4 100644 --- a/libs/surfaceflinger_client/ISurfaceComposer.cpp +++ b/libs/surfaceflinger_client/ISurfaceComposer.cpp @@ -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); }