OSDN Git Service

Surface: Add force disconnection method.
[android-x86/frameworks-native.git] / include / gui / BufferQueueCore.h
index 82bc121..cc5c536 100644 (file)
@@ -182,6 +182,8 @@ private:
     // to this BufferQueue. It defaults to NO_CONNECTED_API, and gets updated
     // by the connect and disconnect methods.
     int mConnectedApi;
+    // PID of the process which last successfully called connect(...)
+    pid_t mConnectedPid;
 
     // mConnectedProducerToken is used to set a binder death notification on
     // the producer.