Application: make lock final
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
6534f45a3a
commit
b10a6171a5
@ -38,7 +38,7 @@ public class Application extends android.app.Application {
|
|||||||
private TunnelManager tunnelManager;
|
private TunnelManager tunnelManager;
|
||||||
private Handler handler;
|
private Handler handler;
|
||||||
private List<BackendCallback> haveBackendCallbacks = new ArrayList<>();
|
private List<BackendCallback> haveBackendCallbacks = new ArrayList<>();
|
||||||
private Object haveBackendCallbacksLock = new Object();
|
private final Object haveBackendCallbacksLock = new Object();
|
||||||
|
|
||||||
public Application() {
|
public Application() {
|
||||||
weakSelf = new WeakReference<>(this);
|
weakSelf = new WeakReference<>(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user