1# Keeps methods that are invoked by JNI. 2 3-keep class com.android.deviceaswebcam.annotations.UsedBy* 4 5-keep @com.android.deviceaswebcam.annotations.UsedBy* class * 6-keepclassmembers class * { 7 @com.android.deviceaswebcam.annotations.UsedByNative *; 8} 9 10# Keep native methods to be linked by the JNI library 11# pulled in by the APK 12-keepclassmembers class * { 13 native <methods>; 14} 15 16