Correct getFrameworkName

This commit is contained in:
Nullptr 2023-01-10 19:42:06 +08:00 committed by LoveSy
parent 140846df66
commit e67335d7ee
2 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@ android {
defaultConfig {
consumerProguardFiles("proguard-rules.pro")
buildConfigField("String", "FRAMEWORK_NAME", """"${rootProject.name}"""")
buildConfigField("String", "VERSION_NAME", """"$verName"""")
buildConfigField("long", "VERSION_CODE", """$verCode""")
}

View File

@ -813,7 +813,7 @@ public class LSPosedContext extends XposedContext {
@NonNull
@Override
public String getFrameworkName() {
return "LSPosed";
return BuildConfig.FRAMEWORK_NAME;
}
@NonNull