Implement com.dsi.ant hidl client.
Changes the hal service to be a hidl client instead of using
libantradio.so. This is part of the changes needed to support
project treble.
Some config variables have also been moved into an xml
resource. This allows vendors to customize behaviour using an
overlay rather than modifying the hal service source.
diff --git a/proguard.flags b/proguard.flags
index 965f85d..ddcfce3 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -18,14 +18,8 @@
#
###############################################################################
--keep class com.dsi.ant.server.IAntHal
+# Need to manually keep any entrance points that are only referenced by the manifest.
+# Currently this is our exported service and the boot completed receiver.
+-keep class * extends android.app.service
+-keep class * extends android.content.BroadcastReceiver
--keep class com.dsi.ant.core.JAntJava {
- void nativeCb_AntRxMessage(byte[]);
- void nativeCb_AntStateChange(int);
-}
-
--assumenosideeffects class android.util.Log {
- public static int v(...);
- public static int d(...);
-}