Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(846)

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java

Issue 2897313002: Android: Simplify isTablet and InterfaceRegistrars (Closed)
Patch Set: Pull out local variable Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/device/android/java/src/org/chromium/services/device/InterfaceRegistrar.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java b/content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java
index 23b0ce209686289acc870b3607e4a70d73b18f15..fa7c3efa260bef48e409c5d89a6aad6df6cabd1a 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/VideoRotateToFullscreenTest.java
@@ -93,7 +93,7 @@ public class VideoRotateToFullscreenTest {
@Feature({"VideoRotateToFullscreen"})
public void testPortraitToLandscapeAndBack() throws Exception {
// TODO(johnme): Use RESTRICTION_TYPE_PHONE once crbug.com/673917 moves it out of chrome/.
- if (DeviceFormFactor.isTablet(mRule.getActivity())) {
+ if (DeviceFormFactor.isTablet()) {
return;
}
« no previous file with comments | « no previous file | services/device/android/java/src/org/chromium/services/device/InterfaceRegistrar.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698