From 9001eb43e970d4bf4c421e9fa193d2b2f7a68a8c Mon Sep 17 00:00:00 2001 From: Erick Alvarez Date: Mon, 22 Apr 2024 23:23:27 +0000 Subject: [PATCH] Attach face detection state tracker files to the bug report State tracker proto file size is small, usually ~15KB. Collect 10 most recent files to the bug reports. Bug: 311086427 Test: adb bugreport Change-Id: I5e43c85aaf40e33e9a578749121b0d3a750c209e --- camera/dump_camera.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camera/dump_camera.cpp b/camera/dump_camera.cpp index a21d568..6aa3414 100644 --- a/camera/dump_camera.cpp +++ b/camera/dump_camera.cpp @@ -49,6 +49,8 @@ int main() { dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 5, "fatal-error-"); dumpLogs(kGraphStateDumpDir.data(), cameraDestDir.c_str(), 5, "hal_graph_state_"); + dumpLogs(kCameraLogDir.data(), cameraDestDir.c_str(), 10, + "fd_state_tracker-"); return 0; }