1# Keep class names of kotlin classes refered to by JNI code. 2# Each class requires 2 proguard rules, one to match on the class and 3# the other to match on each method referenced by native code. 4-if class androidx.graphics.surface.SurfaceControlCompat 5-keep @androidx.graphics.utils.JniVisible public class * 6 7-if class androidx.graphics.surface.SurfaceControlCompat 8-keepclasseswithmembers class * { 9 @androidx.graphics.utils.JniVisible *; 10} 11 12-if class androidx.hardware.SyncFenceCompat 13-keep @androidx.graphics.utils.JniVisible public class * 14 15-if class androidx.hardware.SyncFenceCompat 16-keepclasseswithmembers class * { 17 @androidx.graphics.utils.JniVisible *; 18} 19 20-if class androidx.graphics.lowlatency.CanvasFrontBufferedRenderer 21-keep @androidx.graphics.utils.JniVisible public class * 22 23-if class androidx.graphics.lowlatency.CanvasFrontBufferedRenderer 24-keepclasseswithmembers class * { 25 @androidx.graphics.utils.JniVisible *; 26} 27 28-if class androidx.graphics.lowlatency.GLFrontBufferedRenderer 29-keep @androidx.graphics.utils.JniVisible public class * 30 31-if class androidx.graphics.lowlatency.GLFrontBufferedRenderer 32-keepclasseswithmembers class * { 33 @androidx.graphics.utils.JniVisible *; 34} 35 36-if class androidx.opengl.EGLExt 37-keep @androidx.graphics.utils.JniVisible public class * 38 39-if class androidx.opengl.EGLExt 40-keepclasseswithmembers class * { 41 @androidx.graphics.utils.JniVisible *; 42} 43