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

Commit 217f7939 authored by Yiwei Zhang's avatar Yiwei Zhang Committed by Automerger Merge Worker
Browse files

[RESTRICT AUTOMERGE]gpuservice: always dump all in BugReport am: 90153a1f am: e0dd4c3a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/11784422

Change-Id: Ia150725774bf45cced5825c06f66bddaadef86e3
parents 4db8560f e0dd4c3a
Loading
Loading
Loading
Loading
+1 −1
Original line number 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();

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

        if (dumpAll || dumpDriverInfo) {