diff options
author | cyBerta <cyberta@riseup.net> | 2022-12-16 02:25:41 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-12-16 02:25:41 +0100 |
commit | 9fdbdb38e076cdca75d7c58885a1769caf8ac6cc (patch) | |
tree | 3d743e837d6aaa354791e3a12c4ffc4895187c3e /app/src | |
parent | 8afd8d0722a337f06b20b6d58d59dd2bd25802b3 (diff) |
minor: make weak ref final
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java index e6d6f981..4b7d22fc 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/ProviderApiSetupBroadcastReceiver.java @@ -38,7 +38,7 @@ import se.leap.bitmaskclient.providersetup.activities.ProviderListBaseActivity; */ public class ProviderApiSetupBroadcastReceiver extends BroadcastReceiver { - private WeakReference<ProviderSetupInterface> setupInterfaceRef; + private final WeakReference<ProviderSetupInterface> setupInterfaceRef; public ProviderApiSetupBroadcastReceiver(ProviderSetupInterface setupInterface) { this.setupInterfaceRef = new WeakReference<>(setupInterface); |