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

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

Merge "[SurfaceFlinger] Allow opcode 1030 to pass."

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