Added getLastAcquiredFrameNum

This will allow VRI to ask BBQ what buffer was actually acquired on the
last draw.

Test: blast sync
Bug: 195262673
Change-Id: I492651e8e6d333ef11b682cec939d81057ae197d
diff --git a/libs/gui/BLASTBufferQueue.cpp b/libs/gui/BLASTBufferQueue.cpp
index e5a2151..33335aa 100644
--- a/libs/gui/BLASTBufferQueue.cpp
+++ b/libs/gui/BLASTBufferQueue.cpp
@@ -837,4 +837,9 @@
     }
 }
 
+uint64_t BLASTBufferQueue::getLastAcquiredFrameNum() {
+    std::unique_lock _lock{mMutex};
+    return mLastAcquiredFrameNumber;
+}
+
 } // namespace android