Skip to content

Commit 59e2a3a

Browse files
committed
FIX: SignerThread IndexOutOfBoundException
1 parent f81ca28 commit 59e2a3a

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
@@ -131,7 +131,7 @@ public NodeVisitor child(String ns, String name) {
131131
}
132132

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

0 commit comments

Comments
 (0)