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

Commit 18168008 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: 1a98ba44 am: 280cb5c7

Change-Id: I4a3244bfdb526e871f99fd75250cff63c465418c
parents 19a92e7e 280cb5c7
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");
            }