summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-02-18 19:18:45 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2021-02-18 19:18:45 +0000
commitc9906e91f94fb19ff602fab5be6fd570e537349f (patch)
tree8fb6b35738c3979bdfa820347bcb7e74011719c6 /libs/binder/Parcel.cpp
parentcc39cdd00ed78fc4a51129d3aaab2226da3ab0cf (diff)
parent15b7029849a1c59ecb54961fa7417ee0611408a0 (diff)
Merge "Revert "libbinder: remove __ANDROID_APEX__ stability diff"" into sc-dev
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 3773760f38..1a4ede1940 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -520,7 +520,7 @@ void Parcel::updateWorkSourceRequestHeaderPosition() const {
}
}
-#if defined(__ANDROID_VNDK__)
+#if defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__)
constexpr int32_t kHeader = B_PACK_CHARS('V', 'N', 'D', 'R');
#else
constexpr int32_t kHeader = B_PACK_CHARS('S', 'Y', 'S', 'T');