Skip to content

Commit

Permalink
Back out "Back out "Back out "[soloader] add base apk paths from clas…
Browse files Browse the repository at this point in the history
…sloader into directAPK soSource"""

Summary:
Original commit changeset: 5d2769d0fb31

Original Phabricator Diff: D51447843

Reviewed By: simpleton

Differential Revision: D51615573

fbshipit-source-id: d2f64a19a23a709cf2424cda7f3499a9513e8edd
  • Loading branch information
michalgr authored and facebook-github-bot committed Nov 29, 2023
1 parent 6984ea7 commit 9d90433
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions java/com/facebook/soloader/DirectApkSoSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,6 @@ public String getLibraryPath(String soName) throws IOException {
/*package*/ static Set<String> getDirectApkLdPaths(Context context) {
Set<String> directApkPathSet = new HashSet<>();

final String classLoaderLdLibraryPath = SysUtil.getClassLoaderLdLoadLibrary();
if (classLoaderLdLibraryPath != null) {
LogUtil.w(SoLoader.TAG, "ClassLoader LdLibrary Path: " + classLoaderLdLibraryPath);
final String[] paths = classLoaderLdLibraryPath.split(":");
for (final String path : paths) {
if (path.contains(".apk!/")) {
directApkPathSet.add(path);
}
}
}

final String apkPath = context.getApplicationInfo().sourceDir;
final @Nullable String fallbackApkLdPath = getFallbackApkLdPath(apkPath);
if (fallbackApkLdPath != null) {
Expand Down

0 comments on commit 9d90433

Please sign in to comment.