Skip to content

Commit

Permalink
Add sharedlibs to search paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Mar 15, 2024
1 parent 1d895ad commit e915f8d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ data class RemoveUidInterfaceRuleCommand(private val uid: Int) : RootCommand<Par

private val serviceClassLoader by lazy {
PathClassLoader(File("/apex/com.android.tethering/javalib/service-connectivity.jar").toURI().toURL()
.toString(), "/apex/com.android.tethering/lib64${File.pathSeparator}/apex/com.android.tethering/lib",
javaClass.classLoader)
.toString(), arrayOf(
"/apex/com.android.tethering/lib64",
"/apex/com.android.tethering/lib",
"/apex/sharedlibs/lib64",
"/apex/sharedlibs/lib",
).joinToString(File.pathSeparator), javaClass.classLoader)
}
}

Expand Down

0 comments on commit e915f8d

Please sign in to comment.