| Index: chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java
|
| deleted file mode 100644
|
| index bfba7ccddcc3bff6aa02d1c1119cfe8379d6f312..0000000000000000000000000000000000000000
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/DeviceUtils.java
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.chrome.browser;
|
| -
|
| -import android.content.Context;
|
| -
|
| -/**
|
| - * A utility class that has helper methods for device configuration.
|
| - */
|
| -public class DeviceUtils {
|
| -
|
| - /**
|
| - * The minimum width that would classify the device as a tablet.
|
| - */
|
| - private static final int MINIMUM_TABLET_WIDTH_DP = 600;
|
| -
|
| - /**
|
| - * @param context Android's context
|
| - * @return Whether the app is should treat the device as a tablet for layout.
|
| - */
|
| - public static boolean isTablet(Context context) {
|
| - int minimumScreenWidthDp = context.getResources().getConfiguration().smallestScreenWidthDp;
|
| - return minimumScreenWidthDp >= MINIMUM_TABLET_WIDTH_DP;
|
| - }
|
| -
|
| -}
|
|
|