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

This commit is contained in:
TreeHugger Robot 2020-06-08 16:33:20 +00:00 committed by Android (Google) Code Review
commit 607a0c6d5a

View file

@ -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) {