Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f3eb4a1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Leave error handling the same as old workflow using dumpstate"

parents f128bcc4 0d61c4f8
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -366,8 +366,10 @@ public class BugreportProgressService extends Service {
            checkProgressUpdated(mInfo, (int) progress);
        }

        // TODO(b/127431371): Add error code handling for bugreport API errors.
        // Logging errors and removing progress notification for now.
        /**
         * Logs errors and stops the service on which this bugreport was running.
         * Also stops progress notification (if any).
         */
        @Override
        public void onError(@BugreportErrorCode int errorCode) {
            trackInfoWithId();