Application: make lock final

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2018-06-17 22:34:22 +02:00
parent 6534f45a3a
commit b10a6171a5

View File

@ -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);