Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f91ee506 authored by Fabien Sanglard's avatar Fabien Sanglard Committed by android-build-merger
Browse files

Fix security vulnerability am: 45b20251 am: 8778a131

am: 18a5e5f6

Change-Id: Iec4b5c921b77fd29aea45bdb49cd4d7cda67edc6
parents 30ab1434 18a5e5f6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2203,8 +2203,7 @@ void SurfaceFlinger::setTransactionState(
        if (s.client != NULL) {
            sp<IBinder> binder = IInterface::asBinder(s.client);
            if (binder != NULL) {
                String16 desc(binder->getInterfaceDescriptor());
                if (desc == ISurfaceComposerClient::descriptor) {
                if (binder->queryLocalInterface(ISurfaceComposerClient::descriptor) != NULL) {
                    sp<Client> client( static_cast<Client *>(s.client.get()) );
                    transactionFlags |= setClientStateLocked(client, s.state);
                }