commit | 1893959cf1d0b56de0f6ba98fd308e38c7ff1eb6 | [log] [tgz] |
---|---|---|
author | Rhed Jao <rhedjao@google.com> | Mon Dec 07 19:44:13 2020 +0800 |
committer | Rhed Jao <rhedjao@google.com> | Thu Dec 10 20:10:02 2020 +0800 |
tree | 86d35abe2cd316113ea8ce85439143e89082c3a7 | |
parent | 8ba3c84cffebe4cb3f545ec9810cf944cab90b3f [diff] |
Returns immediately if the bugreport file already exists There's a case that BugreportProgressService is invoked twice quickly, and both services create the same bugreport file name. The later one may delete current running bugreport file in its clean function, when it detects another bugreport is running. Bug: 174314124 Test: atest BugreportReceiverTest Change-Id: I5e1802c5912f4414f1ad3b8bdaf7c7420332b9d6