the MaeUnitLogger class as well.
As Lalit points out, we do call back into this method from native code in unit tests, so we should annotate the abstract class. With this annotation, R8 does keep this method name intact.
package com.microsoft.applications.events.maesdktest;
+import androidx.annotation.Keep;
+
+@Keep
public abstract class MaeUnitLogger {
abstract void log_failure(String filename, int line, String summary);
}
