Fix atest ZipArchiveInputStream ClassNotFound
When run atest DocumentsUITests, ZipArchiveInputStream can be
found in neithor DocumentsUI.apk nor DocumentsUITests.apk. Because
the ZipArchiveInputStream is not used in DocumentsUI and removed
by proguard(r8), testcase expects that ZipArchiveInputStream exist
in DocumentsUI but not.
The solution is to use ZipInputStream rather than
ZipArchiveInputStream.
Fixes: 119845151
Test: atest DocumentsUITests:com.android.documentsui.FileCopyUiTest; \
atest DocumentsUITests:com.android.documentsui.archives
Change-Id: Ide017017211144c4de9a61c333f8f7a1d97727c7
Loading
Please register or sign in to comment