diff options
author | Arne Schwabe <arne@rfc2549.org> | 2019-10-28 18:05:01 +0100 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2019-10-28 18:05:01 +0100 |
commit | 35f704b20ac3149275ca2074f6326dc45d2c459a (patch) | |
tree | 0d3445dc4fbc47237ebadbb32f0d07bec88694b0 /main/src | |
parent | 2d67c32139c213c59d11615da2e7772215431732 (diff) |
Fix build lint issue
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/ui/java/android/support/v4n/view/ViewPager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/ui/java/android/support/v4n/view/ViewPager.java b/main/src/ui/java/android/support/v4n/view/ViewPager.java index dce15727..1b724118 100644 --- a/main/src/ui/java/android/support/v4n/view/ViewPager.java +++ b/main/src/ui/java/android/support/v4n/view/ViewPager.java @@ -16,6 +16,7 @@ package android.support.v4n.view; +import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.content.Context; import android.content.res.Resources; @@ -1782,6 +1783,7 @@ public class ViewPager extends ViewGroup { return (x < mGutterSize && dx > 0) || (x > getWidth() - mGutterSize && dx < 0); } + @SuppressLint("WrongConstant") private void enableLayers(boolean enable) { final int childCount = getChildCount(); for (int i = 0; i < childCount; i++) { |