1. Add logging for proto can't be parsed by incident_report 2. Close opened file descriptor of incident report request! 3. Fix invalid syntax of auto-gen section_list.cpp Bug: 67849582 Test: manually run incident and checks /proc/<its pid>/fd Change-Id: I38e6ac28de09aca6243ad536ed41d8059e08ba24
incidentd
How to build, deploy, unit test
For the first time, build the test and create an empty directly on device:
root$ make -j incidentd_test && adb shell mkdir /data/nativetest64/incidentd_test
Run the test on a device
root$ mmm -j frameworks/base/cmds/incidentd && \
adb push $OUT/data/nativetest64/incidentd_test/* /data/nativetest64/incidentd_test/ && \
adb shell /data/nativetest64/incidentd_test/incidentd_test 2>/dev/null