Loading libs/binder/BackendUnifiedServiceManager.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ bool BinderCacheWithInvalidation::isClientSideCachingEnabled(const std::string& serviceName.c_str()); return false; } if (kRemoveStaticList) return true; for (const char* name : kStaticCachableList) { if (name == serviceName) { return true; Loading Loading @@ -175,7 +176,7 @@ Status BackendUnifiedServiceManager::updateCache(const std::string& serviceName, "isBinderAlive_false"); } // If we reach here with kRemoveStaticList=true then we know service isn't lazy else if (kRemoveStaticList || mCacheForGetService->isClientSideCachingEnabled(serviceName)) { else if (mCacheForGetService->isClientSideCachingEnabled(serviceName)) { binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, "BinderCacheWithInvalidation::updateCache successful"); return mCacheForGetService->setItem(serviceName, binder); Loading Loading
libs/binder/BackendUnifiedServiceManager.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -132,6 +132,7 @@ bool BinderCacheWithInvalidation::isClientSideCachingEnabled(const std::string& serviceName.c_str()); return false; } if (kRemoveStaticList) return true; for (const char* name : kStaticCachableList) { if (name == serviceName) { return true; Loading Loading @@ -175,7 +176,7 @@ Status BackendUnifiedServiceManager::updateCache(const std::string& serviceName, "isBinderAlive_false"); } // If we reach here with kRemoveStaticList=true then we know service isn't lazy else if (kRemoveStaticList || mCacheForGetService->isClientSideCachingEnabled(serviceName)) { else if (mCacheForGetService->isClientSideCachingEnabled(serviceName)) { binder::ScopedTrace aidlTrace(ATRACE_TAG_AIDL, "BinderCacheWithInvalidation::updateCache successful"); return mCacheForGetService->setItem(serviceName, binder); Loading