Merge "Leave error handling the same as old workflow using dumpstate"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9f3eb4a130
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user