Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71ded192 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libbinder: Document future direction of getService." am: aaa7aee1 am:...

Merge "libbinder: Document future direction of getService." am: aaa7aee1 am: 26fa117f am: b11204e0 am: 9aed036f am: 0a340199

Change-Id: Ie7a4e14b52ff19842e76d71263f403933d0e685b
parents 556205eb 0a340199
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -205,6 +205,10 @@ ServiceManagerShim::ServiceManagerShim(const sp<AidlServiceManager>& 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<IBinder> ServiceManagerShim::getService(const String16& name) const
{
    static bool gSystemBootCompleted = false;