From 96fd18079d6cbee3e3c57f06dfe7e9641ff85155 Mon Sep 17 00:00:00 2001 From: Maxime Biais Date: Fri, 5 Sep 2014 10:45:20 +0200 Subject: [PATCH] remove isTablet() check --- .../main/java/org/wordpress/android/util/DisplayUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/WordPressUtils/src/main/java/org/wordpress/android/util/DisplayUtils.java b/WordPressUtils/src/main/java/org/wordpress/android/util/DisplayUtils.java index f64527e9a622..034669ed0500 100644 --- a/WordPressUtils/src/main/java/org/wordpress/android/util/DisplayUtils.java +++ b/WordPressUtils/src/main/java/org/wordpress/android/util/DisplayUtils.java @@ -52,6 +52,10 @@ public static int pxToDp(Context context, int px) { return (int) ((px/displayMetrics.density)+0.5); } + /** + * Deprecated method, returns true on some phones. + */ + @Deprecated public static boolean isTablet(Context context) { // http://stackoverflow.com/a/8427523/1673548 if (context == null)