commit | 006a6bb2d0c2c602a74380c1a1c60c3c468332f1 | [log] [tgz] |
---|---|---|
author | Abhijeet Kaur <abkaur@google.com> | Tue Apr 16 18:28:20 2019 +0100 |
committer | Abhijeet Kaur <abkaur@google.com> | Thu Apr 18 15:26:37 2019 +0100 |
tree | b306a3dca81a56c0674baeabcc8e5061d902d054 | |
parent | 899f397175cc7bf21021917f6ece4482733917f7 [diff] |
Use dev/null instead of tmp file Use dev/null fd (instead of using fd from temporary file) when screenshot fd is passed as null, as file deletion does not need to be handled for dev/null. Test: Take interactive bugreport (which does not need screenshot) manually using shell (which calls bugreport API) Change-Id: I1719899e6cf3bffe1a96849691c051ff4f3a05ec