diff options
Diffstat (limited to 'main/src/ui/java')
-rw-r--r-- | main/src/ui/java/android/support/v4n/view/ViewPager.java | 4 |
1 files changed, 2 insertions, 2 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 1b724118..aa360aa2 100644 --- a/main/src/ui/java/android/support/v4n/view/ViewPager.java +++ b/main/src/ui/java/android/support/v4n/view/ViewPager.java @@ -1788,8 +1788,8 @@ public class ViewPager extends ViewGroup { final int childCount = getChildCount(); for (int i = 0; i < childCount; i++) { final int layerType = enable ? - ViewCompat.LAYER_TYPE_HARDWARE : ViewCompat.LAYER_TYPE_NONE; - ViewCompat.setLayerType(getChildAt(i), layerType, null); + View.LAYER_TYPE_HARDWARE : View.LAYER_TYPE_NONE; + getChildAt(i).setLayerType(layerType, null); } } |