diff options
Diffstat (limited to 'main/src/ui/java/android/support')
-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++) { |