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
1 file changed