From 9e2b4ef8d638b4d6d6c40c631810edc0fedd8930 Mon Sep 17 00:00:00 2001 From: Dana Simard Date: Wed, 24 Jan 2024 01:48:24 +0000 Subject: [PATCH] Include fatal-error camera CPA files in bugreports These CPA files are written on fatal errors in the camera HAL GraphRunner. Test: manual test that files attached to bugreport Bug: 321993145 Change-Id: Ieeb84fbb6d52c95d5b123a7fff5c9b93c9d0fcbc --- camera/dump_camera.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/camera/dump_camera.cpp b/camera/dump_camera.cpp index 548a866..5a0229b 100644 --- a/camera/dump_camera.cpp +++ b/camera/dump_camera.cpp @@ -45,6 +45,7 @@ int main() { dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 5, "high-drop-rate-"); dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 5, "watchdog-"); dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 5, "camera-ended-"); + dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 5, "fatal-error-"); dumpLogs(kGraphStateDumpDir.data(), cameraDestDir.c_str(), 5, "hal_graph_state_");