commit | 8e3e92b906db431c4fa822f21242977d4ee99942 | [log] [tgz] |
---|---|---|
author | Pablo Ceballos <pceballos@google.com> | Mon Jun 27 17:56:53 2016 -0700 |
committer | Pablo Ceballos <pceballos@google.com> | Tue Jun 28 13:49:07 2016 -0700 |
tree | 575005a90d0143170dedd2fe0c1e97110fce7a8a | |
parent | ced6078b0e03a75d9b78e61ce25609bd2cb97b1d [diff] [blame] |
BQ: Add and expose a unique id Bug 29422927 Change-Id: I80eab94f073ebc378302f00fa86a740c3643657e
diff --git a/libs/gui/BufferQueueProducer.cpp b/libs/gui/BufferQueueProducer.cpp index be3b6c3..234a863 100644 --- a/libs/gui/BufferQueueProducer.cpp +++ b/libs/gui/BufferQueueProducer.cpp
@@ -1422,4 +1422,11 @@ disconnect(api); } +status_t BufferQueueProducer::getUniqueId(uint64_t* outId) const { + BQ_LOGV("getUniqueId"); + + *outId = mCore->mUniqueId; + return NO_ERROR; +} + } // namespace android