Skip to content

Commit

Permalink
Keep high-level NoBaseApkException only
Browse files Browse the repository at this point in the history
Reviewed By: michalgr

Differential Revision: D62753908

fbshipit-source-id: cb8c32ada87b0d8f01618b6836fdd8761f25f2b6
  • Loading branch information
adicatana authored and facebook-github-bot committed Sep 16, 2024
1 parent 49f079b commit 132d7bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions java/com/facebook/soloader/NoBaseApkException.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,8 @@ public NoBaseApkException(Throwable cause) {
public NoBaseApkException(String message, Throwable cause) {
super(message, cause);
}

public NoBaseApkException(String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public boolean recover(UnsatisfiedLinkError error, SoSource[] soSources) {
StringBuilder sb =
new StringBuilder("Base apk does not exist: ").append(baseApkPath).append(". ");
mBaseApkPathHistory.report(sb);
throw new NoBaseApkException(sb.toString(), error);
throw new NoBaseApkException(sb.toString());
}

LogUtil.w(TAG, "Base apk exists: " + baseApkPath);
Expand Down

0 comments on commit 132d7bb

Please sign in to comment.