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

Commit 64d54eb0 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

Don't print error if we can't talk to hwservicemanager.

This currently fails as a non-root user due to SEPolicy,
and is causing CTS test failures. Until we figure out
the policy on b/34242478, don't print an error to allow
the test to pass again.

Test: cts-tradefed run cts --module CtsAtraceHostTestCases --test
android.atrace.cts.AtraceHostTest#testSimpleRun

Bug: 33814619
Change-Id: Ie5578639028e7890284d71bbf1b753f5803ca4af
parent 5cfc1c05
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -551,7 +551,8 @@ static void pokeHalServices()
        }
    });
    if (!listRet.isOk()) {
        fprintf(stderr, "failed to list services: %s\n", listRet.description().c_str());
        // TODO(b/34242478) fix this when we determine the correct ACL
        //fprintf(stderr, "failed to list services: %s\n", listRet.description().c_str());
    }
}