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
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 @@
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;
}