# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /opt/android-ly.img.android.sdk-update-manager/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

-keep class android.support.v8.renderscript.** { *; }

-keepnames class * {
    @ly.img.sdk.android.annotations.StateEvents *;
    @ly.img.android.processor.StateEventsProcessor *;
}

-keep class ly.img.sdk.android.events.** { *; }

-keep class ly.img.android.sdk.decoder.** { *; }

-keep class ly.img.android.sdk.models.state.manager.OnEvent { *; }

-keep class ly.img.android.sdk.models.constant.RevertStrategy { *; }

-keepclasseswithmembernames class * {
    @ly.img.android.sdk.PESDKInit *;
    @ly.img.android.sdk.models.state.manager.OnEvent <methods>;
    @ly.img.android.sdk.models.state.manager.RevertibleField.* <fields>;
}

-keepclassmembers class * {
    @ly.img.android.sdk.models.state.manager.OnEvent <methods>;
    @ly.img.android.sdk.models.state.manager.OnStateEvent <methods>;
    @ly.img.android.sdk.models.state.manager.OnMultipleStateEvents <methods>;
}