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

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

Merge "[RESTRICT AUTOMERGE]gpuservice: always dump all in BugReport" into rvc-dev

parents 0bc7c529 90153a1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -94,7 +94,6 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto
        size_t numArgs = args.size();
        size_t numArgs = args.size();


        if (numArgs) {
        if (numArgs) {
            dumpAll = false;
            for (size_t index = 0; index < numArgs; ++index) {
            for (size_t index = 0; index < numArgs; ++index) {
                if (args[index] == String16("--gpustats")) {
                if (args[index] == String16("--gpustats")) {
                    dumpStats = true;
                    dumpStats = true;
@@ -102,6 +101,7 @@ status_t GpuService::doDump(int fd, const Vector<String16>& args, bool /*asProto
                    dumpDriverInfo = true;
                    dumpDriverInfo = true;
                }
                }
            }
            }
            dumpAll = !(dumpDriverInfo || dumpStats);
        }
        }


        if (dumpAll || dumpDriverInfo) {
        if (dumpAll || dumpDriverInfo) {