# libhexspeech resolves this class and method by their JNI names. -keep class ly.anoma.hex.speech.Whisper { native ; } # libhex_keyboard (crates/keyboard/ffi/src/jni.rs) resolves KeyboardCore's natives by their JNI # names, makes SwipeReading and SwipeTyped through these constructors, and calls WordChecker. -keep class ly.anoma.hex.typing.KeyboardCore { native ; } -keep class ly.anoma.hex.typing.SwipeReading { (java.lang.String[], double[], int); } -keep class ly.anoma.hex.typing.SwipeTyped { (boolean, java.lang.String, java.lang.String[]); } -keep interface ly.anoma.hex.typing.WordChecker { boolean isWordValid(java.lang.String); } # Drop diagnostic calls from managed release code, including dependencies. -assumenosideeffects class android.util.Log { public static boolean isLoggable(java.lang.String, int) return false; public static int v(...); public static int d(...); public static int i(...); public static int w(...); public static int e(...); public static int wtf(...); public static int println(...); }