Bug 1150430 - Set quickshare !visible and !enabled by default. r=mfinkle, a=sledru
authorMichael Comella <michael.l.comella@gmail.com>
Mon, 06 Apr 2015 16:14:08 -0700
changeset 265543 5c3653da0663fe05111a72b011d80a553b93d806
parent 265542 09089c7cd48ed4e848e1f09787fed44afca7daa1
child 265544 86d473ce84f5bbff44082b276c9cde3d05fef311
push id4718
push userraliiev@mozilla.com
push dateMon, 11 May 2015 18:39:53 +0000
treeherdermozilla-beta@c20c4ef55f08 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle, sledru
bugs1150430
milestone39.0a2
Bug 1150430 - Set quickshare !visible and !enabled by default. r=mfinkle, a=sledru
mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
mobile/android/base/resources/menu-v11/browser_app_menu.xml
mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
--- a/mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
+++ b/mobile/android/base/resources/menu-large-v11/browser_app_menu.xml
@@ -34,16 +34,18 @@
           android:icon="@drawable/ic_menu_share"
           android:title="@string/share"
           android:showAsAction="ifRoom"/>
 
     <!-- We only show the quick share items so no need for an icon or title.
 
          The visibility is changed dynamically for v14+ - hide for previous versions. -->
     <item android:id="@+id/quickshare"
+          android:visible="false"
+          android:enabled="false"
           android:visibility="gone"
           android:showAsAction="collapseActionView"/>
 
     <item android:id="@+id/new_tab"
           android:icon="@drawable/ic_menu_new_tab"
           android:title="@string/new_tab"/>
 
     <item android:id="@+id/new_private_tab"
--- a/mobile/android/base/resources/menu-v11/browser_app_menu.xml
+++ b/mobile/android/base/resources/menu-v11/browser_app_menu.xml
@@ -34,16 +34,18 @@
           android:icon="@drawable/ic_menu_share"
           android:title="@string/share"
           android:showAsAction="ifRoom"/>
 
     <!-- We only show the quick share items so no need for an icon or title.
 
          The visibility is changed dynamically for v14+ - hide for previous versions. -->
     <item android:id="@+id/quickshare"
+          android:visible="false"
+          android:enabled="false"
           android:visibility="gone"
           android:showAsAction="collapseActionView"/>
 
     <item android:id="@+id/new_tab"
           android:icon="@drawable/ic_menu_new_tab"
           android:title="@string/new_tab"/>
 
     <item android:id="@+id/new_private_tab"
--- a/mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
+++ b/mobile/android/base/resources/menu-xlarge-v11/browser_app_menu.xml
@@ -34,16 +34,18 @@
           android:icon="@drawable/ic_menu_share"
           android:title="@string/share"
           android:showAsAction="ifRoom"/>
 
     <!-- We only show the quick share items so no need for an icon or title.
 
          The visibility is changed dynamically for v14+ - hide for previous versions. -->
     <item android:id="@+id/quickshare"
+          android:visible="false"
+          android:enabled="false"
           android:visibility="gone"
           android:showAsAction="collapseActionView"/>
 
     <item android:id="@+id/new_tab"
           android:icon="@drawable/ic_menu_new_tab"
           android:title="@string/new_tab"/>
 
     <item android:id="@+id/new_private_tab"