Bug:
182544206
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines
Change-Id: I67c83b36a7a9e5ac476d47760562d78bc1c95d36
}
}
if (bluetooth::shim::is_gd_stack_started_up()) {
- bluetooth::shim::GetDumpsys()->Dump(fd, args);
+ if (bluetooth::shim::is_gd_dumpsys_module_started()) {
+ bluetooth::shim::GetDumpsys()->Dump(fd, args);
+ } else {
+ dprintf(fd, "%s NOTE: gd dumpsys module not loaded or started\n",
+ kModuleName);
+ }
} else {
dprintf(fd, "%s gd stack is enabled but not started\n", kModuleName);
}