fix: Fix ProGuard stripping away FrameProcessorPlugin

This commit is contained in:
Marc Rousavy 2021-10-14 12:47:28 +02:00
parent c47639d86a
commit c007a08040

View File

@ -9,6 +9,8 @@ import com.facebook.proguard.annotations.DoNotStrip;
/** /**
* Declares a Frame Processor Plugin. * Declares a Frame Processor Plugin.
*/ */
@DoNotStrip
@Keep
public abstract class FrameProcessorPlugin { public abstract class FrameProcessorPlugin {
private final @NonNull String mName; private final @NonNull String mName;
@ -35,6 +37,8 @@ public abstract class FrameProcessorPlugin {
/** /**
* Get the user-defined name of the Frame Processor Plugin. * Get the user-defined name of the Frame Processor Plugin.
*/ */
@DoNotStrip
@Keep
public @NonNull String getName() { public @NonNull String getName() {
return mName; return mName;
} }