1# Keeps methods that are invoked by JNI. 2 3# TODO(b/373579455): Evaluate if <init> needs to be kept. 4-keep class com.android.deviceaswebcam.annotations.UsedBy* { 5 void <init>(); 6} 7 8# TODO(b/373579455): Evaluate if <init> needs to be kept. 9-keep @com.android.deviceaswebcam.annotations.UsedBy* class * { 10 void <init>(); 11} 12-keepclassmembers class * { 13 @com.android.deviceaswebcam.annotations.UsedByNative *; 14} 15 16# Keep native methods to be linked by the JNI library 17# pulled in by the APK 18-keepclassmembers class * { 19 native <methods>; 20} 21