# Keeps methods that are invoked by JNI. -keep class com.android.deviceaswebcam.annotations.UsedBy* -keep @com.android.deviceaswebcam.annotations.UsedBy* class * -keepclassmembers class * { @com.android.deviceaswebcam.annotations.UsedByNative *; } # Keep native methods to be linked by the JNI library # pulled in by the APK -keepclassmembers class * { native ; }