summaryrefslogtreecommitdiff
path: root/libs/binder/ProcessState.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-02-18 19:20:14 +0000
committer Steven Moreland <smoreland@google.com> 2021-02-18 22:47:25 +0000
commitb6c7e22cf47b71245b49ac54298fad1e621ab93e (patch)
tree790cd331c467e93d9b8a797ea66b6759960c2bec /libs/binder/ProcessState.cpp
parentd0fab002edce0c51f56b6bb0200014e836525f69 (diff)
Reland "libbinder: remove __ANDROID_APEX__ stability diff"
Since the product partition is using __ANDROID_VNDK__, we can't remove the __ANDROID_APEX__ check from the NDK header. This reverts commit 15b7029849a1c59ecb54961fa7417ee0611408a0. Reason for revert: reland b/179906909 Fixes: 179906909 Test: the following, which was failing before w/ stability error mmma packages/modules/Gki adb install --staged-ready-timeout 600000\ out/host/linux-x86/testcases/GkiInstallTest/com.android.gki.kmi_5_10_android12_0_test_high.apex Change-Id: I189b5c07ffd767fa46c59fd8828ba4f59b31f095
Diffstat (limited to 'libs/binder/ProcessState.cpp')
-rw-r--r--libs/binder/ProcessState.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp
index c38249ef7c..edadcd5c58 100644
--- a/libs/binder/ProcessState.cpp
+++ b/libs/binder/ProcessState.cpp
@@ -406,12 +406,6 @@ ProcessState::ProcessState(const char *driver)
, mThreadPoolSeq(1)
, mCallRestriction(CallRestriction::NONE)
{
-
-// TODO(b/166468760): enforce in build system
-#if defined(__ANDROID_APEX__)
- LOG_ALWAYS_FATAL("Cannot use libbinder in APEX (only system.img libbinder) since it is not stable.");
-#endif
-
if (mDriverFD >= 0) {
// mmap the binder, providing a chunk of virtual address space to receive transactions.
mVMStart = mmap(nullptr, BINDER_VM_SIZE, PROT_READ, MAP_PRIVATE | MAP_NORESERVE, mDriverFD, 0);