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

Commit 5a4a03f5 authored by François Degros's avatar François Degros
Browse files

Fix error handling in MoveJob.setUp()

Call super.setUp() as a first step.  This is to match what is done in
other Job subclasses. Also, super.setUp() populates the mResolvedDocs
collection, which is used when reporting further errors via
onFileFailed(mResolvedDocs).

Ensure that all the exceptions are caught and properly logged. Redact
log messages to prevent user-provided file names from being logged.

Bug: 439736198
Flag: EXEMPT Fixing an existing bug
Test: atest DocumentsUIGoogleTests:com.android.documentsui.services
Change-Id: Id4ed89e0b34cb4509cb4804acd970d399621ed04
parent 2173d04e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment