summaryrefslogtreecommitdiffhomepage
path: root/app/src/main
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-06-17 22:34:22 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-06-17 22:34:22 +0200
commitb10a6171a5e7e1e075a0e758be36171f88b5cabf (patch)
tree27bbb1e6f139879ffcbb6fdc5ced8b58badf3ab5 /app/src/main
parent6534f45a3a3bc30f2665db5cd1d79f71567bb2be (diff)
Application: make lock final
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/com/wireguard/android/Application.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/wireguard/android/Application.java b/app/src/main/java/com/wireguard/android/Application.java
index e4f078f7..742544d3 100644
--- a/app/src/main/java/com/wireguard/android/Application.java
+++ b/app/src/main/java/com/wireguard/android/Application.java
@@ -38,7 +38,7 @@ public class Application extends android.app.Application {
private TunnelManager tunnelManager;
private Handler handler;
private List<BackendCallback> haveBackendCallbacks = new ArrayList<>();
- private Object haveBackendCallbacksLock = new Object();
+ private final Object haveBackendCallbacksLock = new Object();
public Application() {
weakSelf = new WeakReference<>(this);