Skip to content

Commit

Permalink
chore: whitelist metaphony ffi methods
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 27, 2024
1 parent 1b31c80 commit 10c95bd
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions metaphony/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# 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 *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keep class me.zyrouge.symphony.metaphony.AudioMetadataParser {
void putTag(java.lang.String, java.lang.String);
void putPicture(java.lang.String, java.lang.String, byte[]);
void putAudioProperty(java.lang.String, int);
boolean readMetadata(java.lang.String, int);
}

0 comments on commit 10c95bd

Please sign in to comment.