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

Commit c7c599ff authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "SF: Update backdoor permissions check constant"

parents 285d11d3 deed4e7d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4636,9 +4636,9 @@ status_t SurfaceFlinger::CheckTransactCodeCredentials(uint32_t code) {
    if (code == IBinder::INTERFACE_TRANSACTION) {
        return OK;
    }
    // Numbers from 1000 to 1028 are currently use for backdoors. The code
    // Numbers from 1000 to 1029 are currently use for backdoors. The code
    // in onTransact verifies that the user is root, and has access to use SF.
    if (code >= 1000 && code <= 1028) {
    if (code >= 1000 && code <= 1029) {
        ALOGV("Accessing SurfaceFlinger through backdoor code: %u", code);
        return OK;
    }