Loading packages/Shell/src/com/android/shell/BugreportProgressService.java +9 −0 Original line number Diff line number Diff line Loading @@ -817,6 +817,7 @@ public class BugreportProgressService extends Service { Log.i(TAG, "Cancelling bugreport service (ID=" + id + ") on user's request"); mBugreportManager.cancelBugreport(); info.deleteScreenshots(); info.deleteBugreportFile(); } stopProgressLocked(id); } Loading Loading @@ -1972,6 +1973,14 @@ public class BugreportProgressService extends Service { } } /** * Deletes bugreport file for a given bugreport. */ private void deleteBugreportFile() { Log.i(TAG, "Deleting bugreport file " + bugreportFile); bugreportFile.delete(); } /** * Rename all screenshots files so that they contain the new {@code name} instead of the * {@code initialName} if user has changed it. Loading Loading
packages/Shell/src/com/android/shell/BugreportProgressService.java +9 −0 Original line number Diff line number Diff line Loading @@ -817,6 +817,7 @@ public class BugreportProgressService extends Service { Log.i(TAG, "Cancelling bugreport service (ID=" + id + ") on user's request"); mBugreportManager.cancelBugreport(); info.deleteScreenshots(); info.deleteBugreportFile(); } stopProgressLocked(id); } Loading Loading @@ -1972,6 +1973,14 @@ public class BugreportProgressService extends Service { } } /** * Deletes bugreport file for a given bugreport. */ private void deleteBugreportFile() { Log.i(TAG, "Deleting bugreport file " + bugreportFile); bugreportFile.delete(); } /** * Rename all screenshots files so that they contain the new {@code name} instead of the * {@code initialName} if user has changed it. Loading