Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolnai committed Oct 11, 2023
1 parent 0760cc8 commit 0945894
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
/.idea
/captures
*.apk
common/src/main/cpp/eduvpn_common.h
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ android {
// See: https://github.com/google/dagger/issues/306#issuecomment-405525757
option("-Xmaxerrs", 2000)
// This will fail the build on warnings which are run in a build phase executed by kapt.
//option("-Werror")
option("-Werror")
}
}

Expand Down
4 changes: 0 additions & 4 deletions app/src/main/java/nl/eduvpn/app/EduVPNApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@
import android.content.Context;
import android.os.StrictMode;

import org.eduvpn.common.GoBackend;
import org.eduvpn.common.StateCB;

import de.blinkt.openvpn.core.ICSOpenVPNApplication;
import nl.eduvpn.app.inject.EduVPNComponent;
import nl.eduvpn.app.service.BackendService;

/**
* Application object which keeps track of the app lifecycle.
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/cpp/jni.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ bool GetJniEnv(JavaVM *vm, JNIEnv **env) {
if (vm->AttachCurrentThread(env, nullptr) == JNI_OK) {
did_attach_thread = true;
} else {
// Failed to attach thread. Throw an exception if you want to.
// Failed to attach thread
}
} else if (get_env_result == JNI_EVERSION) {
// Unsupported JNI version. Throw an exception if you want to.
// Unsupported JNI version
}
return did_attach_thread;
}
Expand Down

0 comments on commit 0945894

Please sign in to comment.