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

Commit a44cd868 authored by Andy Hung's avatar Andy Hung Committed by Fulai Xi
Browse files

AAudio: Change dumpsys denial to Denial

See android.security.cts.ServicePermissionsTest#testDumpProtected

Bug: 124465992
Test: run cts-on-gsi -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest#testDumpProtected

Change-Id: Ie9972e37b8c589630e24373945ee8eaa4216b542
(cherry picked from commit 6357b5f0)
parent 031d2a32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ status_t AAudioService::dump(int fd, const Vector<String16>& args) {

    if (!dumpAllowed()) {
        std::stringstream ss;
        ss << "Permission denial: can't dump AAudioService from pid="
        ss << "Permission Denial: can't dump AAudioService from pid="
                << IPCThreadState::self()->getCallingPid() << ", uid="
                << IPCThreadState::self()->getCallingUid() << "\n";
        result = ss.str();