Bug 1106935 - Remove NewTabletUI class. r=mhaigh
authorMichael Comella <michael.l.comella@gmail.com>
Thu, 02 Apr 2015 16:30:42 -0700
changeset 256508 ce8b48cf665eb7fa3a46d17889a0c6edccdfd7b1
parent 256507 dff4d833af14b53c8e1017497db038d0b6398a56
child 256509 32c381257f6c8d5f78fbe0ef00aaa07a9ecd0c5a
child 256510 63fd4c7ebfa43ed3f2f7fc3d0ef9809a5458aa9f
child 256586 a424309dd98695a0b548e6faf5143617433785da
child 256619 8cc7ce3bbfb0d26117bdf26232a950eba9a05687
child 256634 b32614c59677fad7d2a47ca080a7661e2425a635
child 256687 01682bfcf1e8cb602c510c2024af802f1c3b798e
child 256861 4750f2deab2340d26ef2d4a86df35c0aefef1ea5
push id1483
push usermichael.l.comella@gmail.com
push dateFri, 10 Apr 2015 15:12:05 +0000
reviewersmhaigh
bugs1106935
milestone40.0a1
Bug 1106935 - Remove NewTabletUI class. r=mhaigh Still TODO: rename resources prefixed with "new_tablet" or styles appended with "NewTablet".
mobile/android/base/NewTabletUI.java
mobile/android/base/moz.build
deleted file mode 100644
--- a/mobile/android/base/NewTabletUI.java
+++ /dev/null
@@ -1,17 +0,0 @@
-/* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
-package org.mozilla.gecko;
-
-import android.content.Context;
-
-import org.mozilla.gecko.mozglue.RobocopTarget;
-import org.mozilla.gecko.util.HardwareUtils;
-
-@RobocopTarget
-public class NewTabletUI {
-    public static boolean isEnabled(final Context context) {
-        return HardwareUtils.isTablet();
-    }
-}
--- a/mobile/android/base/moz.build
+++ b/mobile/android/base/moz.build
@@ -355,17 +355,16 @@ gbjar.sources += [
     'menu/GeckoSubMenu.java',
     'menu/MenuItemActionBar.java',
     'menu/MenuItemActionView.java',
     'menu/MenuItemDefault.java',
     'menu/MenuPanel.java',
     'menu/MenuPopup.java',
     'menu/QuickShareBarActionView.java',
     'MotionEventInterceptor.java',
-    'NewTabletUI.java',
     'NotificationClient.java',
     'NotificationHandler.java',
     'NotificationHelper.java',
     'NotificationService.java',
     'NSSBridge.java',
     'OrderedBroadcastHelper.java',
     'OuterLayout.java',
     'preferences/AlignRightLinkPreference.java',