# Keeps methods that are invoked by JNI. # TODO(b/373579455): Evaluate if needs to be kept. -keep class com.android.deviceaswebcam.annotations.UsedBy* { void (); } # TODO(b/373579455): Evaluate if needs to be kept. -keep @com.android.deviceaswebcam.annotations.UsedBy* class * { void (); } -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 ; }