Bug 1204917 - Remove Nightly flag: Always grow close button hit area. r=margaret
authorSebastian Kaspari <s.kaspari@gmail.com>
Tue, 20 Oct 2015 13:29:03 +0200
changeset 303728 647db461d78d11af43eaf177c438a6bacce8243b
parent 303727 809f7e707697ecd2af4930168b36a1af20521266
child 303729 1b6d33aad42529d204a4edd8af2d8f8628da0016
child 303777 3a73b2d41ed52616ad6b5d65d9663ff307fc6a73
push id1001
push userraliiev@mozilla.com
push dateMon, 18 Jan 2016 19:06:03 +0000
treeherdermozilla-release@8b89261f3ac4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1204917
milestone44.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1204917 - Remove Nightly flag: Always grow close button hit area. r=margaret
mobile/android/base/tabs/TabsLayoutItemView.java
--- a/mobile/android/base/tabs/TabsLayoutItemView.java
+++ b/mobile/android/base/tabs/TabsLayoutItemView.java
@@ -91,19 +91,17 @@ public class TabsLayoutItemView extends 
     @Override
     protected void onFinishInflate() {
         super.onFinishInflate();
         mTitle = (TextView) findViewById(R.id.title);
         mThumbnail = (TabsPanelThumbnailView) findViewById(R.id.thumbnail);
         mCloseButton = (ImageView) findViewById(R.id.close);
         mThumbnailWrapper = (TabThumbnailWrapper) findViewById(R.id.wrapper);
 
-        if (HardwareUtils.isTablet() || AppConstants.NIGHTLY_BUILD) {
-            growCloseButtonHitArea();
-        }
+        growCloseButtonHitArea();
     }
 
     private void growCloseButtonHitArea() {
         getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {
             @Override
             public boolean onPreDraw() {
                 getViewTreeObserver().removeOnPreDrawListener(this);