From f40ebb2305cffcf5f2605e78e6b04a77f5086744 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 --- app/src/main/java/com/wireguard/android/fragment/TunnelListFragment.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/main/java') 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