diff --git a/libs/binder/IServiceManager.cpp b/libs/binder/IServiceManager.cpp index 9888b59854..dab7ad5e02 100644 --- a/libs/binder/IServiceManager.cpp +++ b/libs/binder/IServiceManager.cpp @@ -205,6 +205,10 @@ ServiceManagerShim::ServiceManagerShim(const sp& impl) : mTheRealServiceManager(impl) {} +// This implementation could be simplified and made more efficient by delegating +// to waitForService. However, this changes the threading structure in some +// cases and could potentially break prebuilts. Once we have higher logistical +// complexity, this could be attempted. sp ServiceManagerShim::getService(const String16& name) const { static bool gSystemBootCompleted = false;