summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Jooyung Han <jooyung@google.com> 2020-01-30 13:41:12 +0900
committer Jooyung Han <jooyung@google.com> 2020-01-30 13:53:22 +0900
commit1b228f4fd5b68f919b245024c35ebd3aef52bb9f (patch)
tree698222eda8169e109fab00fc1826003841394458 /libs/binder/Parcel.cpp
parent56a1e4fca9f456ac7864fe8ad63a5eddae1f410e (diff)
Cleanup: remove VNDK APEX exception from binder
VNDK APEX is now built with vendor variants instead of apex variants. Now, no need to whitelist vndk apex in libbinder's apex_available or use __ANDROID_APEX_COM_ANDROID_VNDK_CURRENT__ for stability check. Bug: 146758869 Test: m / flash / device boots Change-Id: I008b063fd2a480ca754d89ffe3b9be0db969f7a1
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 9be06cdd19..9f71f3e534 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -505,7 +505,7 @@ void Parcel::updateWorkSourceRequestHeaderPosition() const {
}
}
-#if defined(__ANDROID_APEX_COM_ANDROID_VNDK_CURRENT__) || (defined(__ANDROID_VNDK__) && !defined(__ANDROID_APEX__))
+#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');