diff options
| author | 2020-02-04 04:32:31 +0000 | |
|---|---|---|
| committer | 2020-02-04 04:32:31 +0000 | |
| commit | dc267c5b3d50d37e2c8640c63817e60073c5919c (patch) | |
| tree | a92e26e4fb93101399b5dc16ed0fbd26c4bf8a57 /libs/binder/ProcessState.cpp | |
| parent | 96209fd78080243e8402b193c66a717580aa2053 (diff) | |
| parent | 1b228f4fd5b68f919b245024c35ebd3aef52bb9f (diff) | |
Merge "Cleanup: remove VNDK APEX exception from binder"
Diffstat (limited to 'libs/binder/ProcessState.cpp')
| -rw-r--r-- | libs/binder/ProcessState.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index ce2cd9969f..c0f5e31d72 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -60,14 +60,14 @@ public: : mIsMain(isMain) { } - + protected: virtual bool threadLoop() { IPCThreadState::self()->joinThreadPool(mIsMain); return false; } - + const bool mIsMain; }; @@ -296,7 +296,7 @@ sp<IBinder> ProcessState::getStrongProxyForHandle(int32_t handle) void ProcessState::expungeHandle(int32_t handle, IBinder* binder) { AutoMutex _l(mLock); - + handle_entry* e = lookupHandleLocked(handle); // This handle may have already been replaced with a new BpBinder @@ -387,7 +387,7 @@ ProcessState::ProcessState(const char *driver) { // TODO(b/139016109): enforce in build system -#if defined(__ANDROID_APEX__) && !defined(__ANDROID_APEX_COM_ANDROID_VNDK_CURRENT__) +#if defined(__ANDROID_APEX__) LOG_ALWAYS_FATAL("Cannot use libbinder in APEX (only system.img libbinder) since it is not stable."); #endif @@ -416,5 +416,5 @@ ProcessState::~ProcessState() } mDriverFD = -1; } - + } // namespace android |