Nearby: Turn off proguard optimization of proto classes.
Add a proguard rule to prevent proguard from stripping out
fast-pair-lite-protos classes/fields.
Fix: 218607668
Test: atest CtsNearbyFastPairTestCases and manual steps in b/218607668#comment2
Ignore-AOSP-First: Nearby is not yet in AOSP. This introduces minimal
unavoidable merge conflicts until it is merged there.
Change-Id: I947c9e3b6ebc232e230782f6345c5cb6893138e6
diff --git a/service/jarjar-rules.txt b/service/jarjar-rules.txt
index 65ed8a3..ee05df5 100644
--- a/service/jarjar-rules.txt
+++ b/service/jarjar-rules.txt
@@ -106,5 +106,8 @@
# From the API shims
rule com.android.networkstack.apishim.** com.android.connectivity.@0
+# From fast-pair-lite-protos
+rule service.proto.** com.android.server.nearby.@0
+
# Remaining are connectivity sources in com.android.server and com.android.server.connectivity:
# TODO: move to a subpackage of com.android.connectivity (such as com.android.connectivity.server)