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

Commit ecdfee5b 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...

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

Change-Id: I69b3129608badefef397e6e59a13ec736257f421
parents 21b10758 85021a93
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");
            }