Keep proguard fields for lite runtime

The lite proto runtime uses reflection to access fields based on the names in
the schema, keep all the fields.

Bug: 117607748
Bug: 140062984
Test: m checkbuild
Change-Id: I39bc7d28f619dd2ccaee603e4d407aa7ad33f534
Merged-In: I39bc7d28f619dd2ccaee603e4d407aa7ad33f534
This commit is contained in:
Colin Cross 2019-08-26 14:22:02 -07:00
parent 4c71549763
commit 7a9acce4ec

View file

@ -72,3 +72,7 @@
# Less spammy.
-dontnote
# The lite proto runtime uses reflection to access fields based on the names in
# the schema, keep all the fields.
-keepclassmembers class * extends com.google.protobuf.MessageLite { <fields>; }