From 08170f7e55d6a6d9dbf3d3bf7874fab3a8eeaee7 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 18 Jul 2018 18:32:42 +0200 Subject: TunnelListFragment: setOnScrollListener is old, but we support API 21, so we have to use it Signed-off-by: Jason A. Donenfeld --- app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app') 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, -- cgit v1.2.3