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

Skip to content
Commit 55bba02f authored by Aditya's avatar Aditya Committed by Aditya Singh
Browse files

Prevent R.class static fields and Apache compress library from being removed by proguard.

Resources that are only used in test classes and were not being used in
app's code were getting removed for optimization purposes.

Similarly Apache compress library, which was only being used in tests,
specifially in com.android.documentsui.archives tests, was getting
removed by proguard.

These were causing multiple tests to fail in DocumentsUIGoogleTests
module. Adding keep rules for the static fields and for the apache
compress library fixes the failing test issue.

Bug: 335446899
Bug: 335393830
Test: atest DocumentsUIGoogleTests:<UnitTests>
Change-Id: I947c5f0a8782a966c4e390148db85acdfcaf5191
parent 381a9718
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment