Merge "[RESTRICT AUTOMERGE]gpuservice: always dump all in BugReport" into rvc-dev
This commit is contained in:
commit
607a0c6d5a
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue