Added rule to keep static members of GattCharacteristic class

This commit is contained in:
Marc Nause 2022-03-29 23:11:35 +02:00 committed by Gitea
parent 367ad19205
commit c0adbf59c3

View File

@ -18,10 +18,14 @@
-keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.webview.JSInterface { -keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.webview.JSInterface {
public *; public *;
} }
# Required for refection in BangleJSDeviceSupport # Required for reflection in BangleJSDeviceSupport
-keepclassmembers class nodomain.freeyourgadget.gadgetbridge.model.CallSpec { -keepclassmembers class nodomain.freeyourgadget.gadgetbridge.model.CallSpec {
public static *; public static *;
} }
# Required for reflection in method GattCharacteristic.initDebugMap()
-keepclassmembers class nodomain.freeyourgadget.gadgetbridge.service.btle.GattCharacteristic {
public static *;
}
-keepattributes JavascriptInterface -keepattributes JavascriptInterface
# https://github.com/tony19/logback-android/issues/29 # https://github.com/tony19/logback-android/issues/29