diff options
author | Joe Onorato <joeo@google.com> | 2010-10-13 23:34:21 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2010-10-13 23:34:21 -0700 |
commit | 503d2d4a08370209dc83330bd00997ba9512f46f (patch) | |
tree | e44a9222f8a53d8bafecfa4fad9751e557134a8d /libs/surfaceflinger_client | |
parent | 6c4ca2b630746e02c7865fef67556404641569f3 (diff) | |
parent | 296b1d77641e6cf4f03e12c62c0d55a9e32b6b67 (diff) | |
download | frameworks_native-503d2d4a08370209dc83330bd00997ba9512f46f.zip frameworks_native-503d2d4a08370209dc83330bd00997ba9512f46f.tar.gz frameworks_native-503d2d4a08370209dc83330bd00997ba9512f46f.tar.bz2 |
am 9a12a3c8: am ba799098: Merge changes I76513387,I335fb671 into gingerbread
Merge commit '9a12a3c8d4bb20042cf69e07d268e3a04ac71f96'
* commit '9a12a3c8d4bb20042cf69e07d268e3a04ac71f96':
Remove dead code, and make the animation a setting.
turn off the electron beam
Diffstat (limited to 'libs/surfaceflinger_client')
-rw-r--r-- | libs/surfaceflinger_client/ISurfaceComposer.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/surfaceflinger_client/ISurfaceComposer.cpp b/libs/surfaceflinger_client/ISurfaceComposer.cpp index d676f5e..d72561f 100644 --- a/libs/surfaceflinger_client/ISurfaceComposer.cpp +++ b/libs/surfaceflinger_client/ISurfaceComposer.cpp @@ -142,6 +142,15 @@ public: return reply.readInt32(); } + virtual status_t turnElectronBeamOff(int32_t mode) + { + Parcel data, reply; + data.writeInterfaceToken(ISurfaceComposer::getInterfaceDescriptor()); + data.writeInt32(mode); + remote()->transact(BnSurfaceComposer::TURN_ELECTRON_BEAM_OFF, data, &reply); + return reply.readInt32(); + } + virtual void signal() const { Parcel data, reply; @@ -224,6 +233,12 @@ status_t BnSurfaceComposer::onTransact( reply->writeInt32(f); reply->writeInt32(res); } break; + case TURN_ELECTRON_BEAM_OFF: { + CHECK_INTERFACE(ISurfaceComposer, data, reply); + int32_t mode = data.readInt32(); + status_t res = turnElectronBeamOff(mode); + reply->writeInt32(res); + } default: return BBinder::onTransact(code, data, reply, flags); } |