Commit 4c630cb6 authored by aurimas's avatar aurimas Committed by Commit bot

Remove ICS check in SwipeRefreshHandler.

BUG=473837

Review URL: https://codereview.chromium.org/1106183005

Cr-Commit-Position: refs/heads/master@{#327146}
parent a8821a97
...@@ -85,9 +85,7 @@ public class SwipeRefreshHandler implements OverscrollRefreshHandler { ...@@ -85,9 +85,7 @@ public class SwipeRefreshHandler implements OverscrollRefreshHandler {
mAccessibilityRefreshString = mAccessibilityRefreshString =
contentViewCore.getContext().getResources().getString(resId); contentViewCore.getContext().getResources().getString(resId);
} }
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN) { mSwipeRefreshLayout.announceForAccessibility(mAccessibilityRefreshString);
mSwipeRefreshLayout.announceForAccessibility(mAccessibilityRefreshString);
}
contentViewCore.getWebContents().getNavigationController().reload(true); contentViewCore.getWebContents().getNavigationController().reload(true);
} }
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment