Skip to content

Commit bce94d5

Browse files
devinmoore-googJoker-V2
authored andcommitted
DO NOT MERGE Add fmq function instantiations to preserve ABI
Bug: 184963385 Test: check abidiff after full build Test: out/soong/.intermediates/frameworks/av/media/bufferpool/2.0/[email protected]/android_arm_armv8-a_vendor_shared/[email protected] Change-Id: I25b7180bb88b4bace4a1d9ad5a789d79cbe3de35 (cherry picked from commit b0e09634903a73908b84361564215a79f1f6bdb1)
1 parent 91053d8 commit bce94d5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

media/bufferpool/2.0/BufferStatus.cpp

+15
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,21 @@
2121
#include <time.h>
2222
#include "BufferStatus.h"
2323

24+
// This is added to preserve ABI for b/184963385
25+
template bool android::hardware::MessageQueue<
26+
android::hardware::media::bufferpool::V2_0::BufferStatusMessage,
27+
android::hardware::kSynchronizedReadWrite>::
28+
write(
29+
const android::hardware::media::bufferpool::V2_0::BufferStatusMessage *,
30+
size_t count);
31+
#ifndef __aarch64__
32+
template bool android::hardware::MessageQueue<
33+
android::hardware::media::bufferpool::V2_0::BufferInvalidationMessage,
34+
android::hardware::kUnsynchronizedWrite>::
35+
write(const android::hardware::media::bufferpool::V2_0::
36+
BufferInvalidationMessage *,
37+
size_t count);
38+
#endif
2439
namespace android {
2540
namespace hardware {
2641
namespace media {

0 commit comments

Comments
 (0)