mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-05-19 14:10:38 -04:00
convert to standard Build.VERSION.SDK_INT test style
This commit is contained in:
@@ -60,7 +60,7 @@ public class ScreenShotsActivity extends AppCompatActivity {
|
||||
viewPager.setAdapter(adapter);
|
||||
viewPager.setCurrentItem(startPosition);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
// display some nice animation while swiping
|
||||
viewPager.setPageTransformer(true, new DepthPageTransformer());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user