summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 18:32:42 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-18 18:32:42 +0200
commit08170f7e55d6a6d9dbf3d3bf7874fab3a8eeaee7 (patch)
treea13731159a012ca0de78c46ce7b80aba432f100e
parent28d47b347021671f089fe84ca1da3e7d8b7ace7f (diff)
TunnelListFragment: setOnScrollListener is old, but we support API 21, so we have to use it
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java
index 448a4834..96716849 100644
--- a/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java
+++ b/app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java
@@ -179,6 +179,7 @@ public class TunnelListFragment extends BaseFragment {
}
}
+ @SuppressWarnings("deprecation")
@SuppressLint("ClickableViewAccessibility")
@Override
public View onCreateView(@NonNull final LayoutInflater inflater, @Nullable final ViewGroup container,