Skip to content

Commit e942961

Browse files
rijuldhiropticod
authored andcommitted
Replaced few hardcoded strings (#296)
Replaced few hardCoded strings
1 parent f590cb0 commit e942961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source-code/app/src/main/java/org/buildmlearn/toolkit/utilities/SignerThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public NodeVisitor child(String ns, String name) {
132132
}
133133

134134
private String getFinalApkPath(String buildmlearnPath) {
135-
int index = buildmlearnPath.lastIndexOf("buildmlearn");
135+
int index = buildmlearnPath.lastIndexOf(context.getString(R.string.main_title));
136136
return buildmlearnPath.substring(0, index) + "apk";
137137
}
138138

0 commit comments

Comments
 (0)