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

Commit 9875ec81 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: remove handle 0 TODO

A different way to do this and needing to support both ways doesn't
seem to make this better.

Fixes: 168900528
Test: N/A
Change-Id: I0f067b6f18a2c47dbc13e00dd692d60bdaf3f639
parent aee8706d
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -320,11 +320,6 @@ sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle)
                //
                //
                // Note that this is not race-free if the context manager
                // Note that this is not race-free if the context manager
                // dies while this code runs.
                // dies while this code runs.
                //
                // TODO: add a driver API to wait for context manager, or
                // stop special casing handle 0 for context manager and add
                // a driver API to get a handle to the context manager with
                // proper reference counting.


                IPCThreadState* ipc = IPCThreadState::self();
                IPCThreadState* ipc = IPCThreadState::self();