DONTBUILD NPOTB
We're seeing build failures since 6.5.+ doesn't match 6.5.87. This
shouldn't be fuzzy, and it shouldn't be an ancient version of Google
Play Services either. (In moz.build local builds , we're using a much
more recent version. In automation, I'm not certain what we're
using.)
--HG--
extra : commitid : 6EjfXxM9FJy
We were doing this on tablets but I forgot to add the lines to make it work on
phones.
--HG--
rename : mobile/android/base/resources/color-large-v11/action_bar_menu_item_colors.xml => mobile/android/base/resources/color/action_bar_menu_item_colors.xml
extra : commitid : 7mMxelznMN2
extra : rebase_source : 8407550ba68936fcc4eb344680a6c578d18707c5
It seems the other attributes are not used on tablet so there was
no need to make a base style here.
--HG--
extra : commitid : BhP12EMHRbC
extra : rebase_source : 1a8153082fe5917b2c628fe0e5b19cdc5c850ca6
I feel like there's a better way to do this than using *Base, but
this is our current convention.
--HG--
extra : commitid : 4AFy34jzKw1
extra : rebase_source : 3befc2781abc759fe715e435458965dd296af361
I wasn't using the wrapped drawable when setting the icon, which
curiously works on L+ devices, but not pre-L.
--HG--
extra : commitid : 9CZQGehAOIh
extra : rebase_source : 1f73a543049fa48a1e76e17b9042edb3354164d4
Note that this not the originally reviewed patch in the bug, but a re-run of
the algorithm that produced that patch.
--HG--
extra : commitid : 51DOIx3PKb8
extra : amend_source : f2e6b601240a9b31df7aadd96f6c53f0a6c430ef
This involved renaming the existing tab_strip layout to tab_strip_inner
as it was originally contained within the new_tablet_tab_strip
layout.
--HG--
rename : mobile/android/base/resources/layout-large-v11/tab_strip.xml => mobile/android/base/resources/layout-large-v11/tab_strip_inner.xml
extra : commitid : BcURubawZQu
extra : rebase_source : f5fa77ecc956d93e0498670c87c73bc7046b6d0b
tablet_* is not ideal but there is a collision between phone and tablet assets
so I filed bug 1193585 to complete this process.
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-hdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-hdpi-v11/tablet_tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xhdpi-v11/tablet_tab_close_active.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_tab_close_active.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/tablet_tab_close_active.png
extra : commitid : LWgCmYlShK3
extra : rebase_source : 3ffb229ec8331fe5f6a67ba15efbb307756d6f36
Also removed the drawable/ null reference because it was unneeded.
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_tab_strip_button.xml => mobile/android/base/resources/drawable-large-v11/tab_strip_button.xml
extra : commitid : 77namFkyFSm
extra : rebase_source : 9b6b79c3e48a8606c53fe24ef98db5302ff09e09
Similar deal to the previous two changesets on back and forward.
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_reload.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_reload.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/ic_menu_reload.png
extra : commitid : 2ZRttx8PHA7
extra : rebase_source : d8013c0beb117393be1896b4aced64fb2b6ab89e
This involved removing drawable-large-v11/ic_menu_forward.xml, which
was a null reference presumably there to save memory when the
browser_app menu loaded the forward menu item. Also, the
new_tablet_ic_menu_forward null reference for API 9 builds was
removed.
--HG--
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-hdpi-v11/ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xhdpi-v11/ic_menu_forward.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_ic_menu_forward.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/ic_menu_forward.png
extra : commitid : CWYwQraUXq0
extra : rebase_source : 5e7773df6166f61748534bd92fa11f6b179b7c9d
When styles are only used once, there is no need to clutter up the
styles files for them.
--HG--
extra : commitid : 9LWpjKAugdG
extra : rebase_source : aabc89058146bdaa7b79168e4bd5b3584a3268e8
We could do this in many more places, but this is a start.
--HG--
extra : commitid : Bzhu8kLPbnF
extra : rebase_source : a1d8473b2fb9c16a5b05f2292280c093f90f0942
There were some of these in the drawable-large-* directories and this file is
only used in large+ configs, so it is unused.
--HG--
extra : commitid : FuHqXQ11ISf
extra : rebase_source : c6a25a3bff7a5fb371f74af83c2dec578dc975c5
drawable/action_bar_button is used on tablets in some layouts
(e.g. tab_history_item_row) so we can't shadow it in
drawable-large-.../action_bar_button.
--HG--
rename : mobile/android/base/resources/drawable-large-v11/new_tablet_action_bar_button.xml => mobile/android/base/resources/drawable-large-v11/browser_toolbar_action_bar_button.xml
extra : commitid : BLxM1gazT1s
extra : rebase_source : 37099b8d31e1684993cc071c5359a05ccff97fc6
First we need to set the Gecko thread JNIEnv* in nsAndroidStartup, but
after that we can initialize and deinitialize the rest of JNI, including
AndroidBridge, in GeckoAppShell. This makes nsAppShell control the
AndroidBridge lifetime. Over time, parts of the AndroidBridge
functionality will be migrated to nsAppShell.
GeckoAppShell.runGecko really should be in GeckoThread because
GeckoThread already takes care of most of the preparation when running
Gecko. This patch merges runGecko into GeckoThread.run, but split the
argument-building code into its own method.