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

Commit 85021a93 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "ApexManager: Allow blocking Binder calls" into rvc-dev am: 1f1b416d am: bb13d70a

Change-Id: I9211b90d682bd459006b89067c4878bf13f53687
parents 41a882dd bb13d70a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -399,7 +399,9 @@ public abstract class ApexManager {
        @VisibleForTesting
        protected IApexService waitForApexService() {
            try {
                return IApexService.Stub.asInterface(Binder.waitForService("apexservice"));
                // Since apexd is a trusted platform component, synchronized calls are allowable
                return IApexService.Stub.asInterface(
                        Binder.allowBlocking(Binder.waitForService("apexservice")));
            } catch (RemoteException e) {
                throw new IllegalStateException("Required service apexservice not available");
            }