From 27c8115510cebda13cbe24fd4caa946ea9c5003c Mon Sep 17 00:00:00 2001 From: Dan Stoza Date: Fri, 31 Mar 2017 16:30:42 -0700 Subject: libgui: Format BitTube and move into gui namespace Reformats BitTube using the framework default .clang-format and moves it into the android::gui namespace. Test: m -j + manual testing Change-Id: I5ea748b809f37c2ec4dcfb41e7b84daf7a084368 --- libs/gui/IDisplayEventConnection.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/gui/IDisplayEventConnection.cpp') diff --git a/libs/gui/IDisplayEventConnection.cpp b/libs/gui/IDisplayEventConnection.cpp index 2de2f8a2f4..d3ee39c16f 100644 --- a/libs/gui/IDisplayEventConnection.cpp +++ b/libs/gui/IDisplayEventConnection.cpp @@ -31,11 +31,11 @@ public: ~BpDisplayEventConnection() override; - status_t getDataChannel(sp* outChannel) const override { + status_t getDataChannel(sp* outChannel) const override { Parcel data, reply; data.writeInterfaceToken(IDisplayEventConnection::getInterfaceDescriptor()); remote()->transact(GET_DATA_CHANNEL, data, &reply); - *outChannel = new BitTube(reply); + *outChannel = new gui::BitTube(reply); return NO_ERROR; } @@ -65,7 +65,7 @@ status_t BnDisplayEventConnection::onTransact(uint32_t code, const Parcel& data, switch (code) { case GET_DATA_CHANNEL: { CHECK_INTERFACE(IDisplayEventConnection, data, reply); - sp channel; + sp channel; getDataChannel(&channel); channel->writeToParcel(reply); return NO_ERROR; -- cgit v1.2.3-59-g8ed1b