mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-10 00:27:45 +00:00
adjust build and add a variant that doesn't allow user-added libraries
This commit is contained in:
parent
53022afdab
commit
978d76ed7c
6 changed files with 39 additions and 52 deletions
|
@ -57,7 +57,7 @@ public final class JniUtils {
|
|||
if (app != null) // use the actual path if possible
|
||||
filesDir = app.getFilesDir().getAbsolutePath();
|
||||
final File userSuppliedLibrary = new File(filesDir + File.separator + JNI_LIB_IMPORT_FILE_NAME);
|
||||
if (userSuppliedLibrary.exists()) {
|
||||
if (!BuildConfig.BUILD_TYPE.equals("nouserlib") && userSuppliedLibrary.exists()) {
|
||||
String wantedChecksum = expectedDefaultChecksum();
|
||||
try {
|
||||
if (app != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue