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

Unified Diff: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.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 | « services/shape_detection/android/java/src/org/chromium/shape_detection/TextDetectionImpl.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
diff --git a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
index b7f9f20d70557b107362f8f5dfd10ae7fd417cde..5a1a07be53dd0447ba3a628feb9e0875d80bcf04 100644
--- a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
+++ b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
@@ -28,12 +28,6 @@ public class DeviceFormFactor {
private static Integer sMinimumTabletWidthPx;
private static Float sDensity;
- /** TODO(wnwen): Remove when downstream is migrated. */
- @Deprecated
- public static boolean isTablet(Context context) {
- return isTablet();
- }
-
/**
* @return Whether the app should treat the device as a tablet for layout. This method is not
* affected by Android N multi-window.
« no previous file with comments | « services/shape_detection/android/java/src/org/chromium/shape_detection/TextDetectionImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698