This does not always work in the case that one of the last few tabs (to the
right) are selected and the device is rotated from landscape to portrait.
Filed bug 1134408 to track this.
--HG--
extra : rebase_source : f9071610c50fc344d55e54876252c7e2cdca09bd
BitmapFactory seemingly can't handle resource aliases:
http://stackoverflow.com/a/14553767
Note that this bug affected all phone devices, not just 2.3.
Also removed some unused imports while I was at it.
--HG--
extra : rebase_source : e8385a3d132176913922a182f6562618629d3d3c
We couldn't do this before because the button declaration was shared by old and
new tablet - this is no longer a problem now that old tablet is no longer in
use.
--HG--
extra : rebase_source : 4b60fe6ca371e783c8cc648568b8af7ec8791396
extra : source : fb066050757e614338dd185e6f99cfdbdbf818ec
As a cleanup, this required the move of favicon -> favicon_globe and the
creation of new resources toolbar_favicon_default, which is aliased to
favicon_globe on phones.
--HG--
rename : mobile/android/base/resources/drawable-hdpi/favicon.png => mobile/android/base/resources/drawable-hdpi/favicon_globe.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-hdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-mdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-mdpi/favicon.png => mobile/android/base/resources/drawable-mdpi/favicon_globe.png
rename : mobile/android/base/resources/drawable-xhdpi/favicon.png => mobile/android/base/resources/drawable-xhdpi/favicon_globe.png
extra : rebase_source : 8e43b8c4a04ccc8be7489385de5bd8d3f60058eb
extra : source : efa9411df1c4c1ea74fcdde7b5c3fc8a88725d79
As a cleanup, this required the move of favicon -> favicon_globe and the
creation of new resources toolbar_favicon_default, which is aliased to
favicon_globe on phones.
--HG--
rename : mobile/android/base/resources/drawable-hdpi/favicon.png => mobile/android/base/resources/drawable-hdpi/favicon_globe.png
rename : mobile/android/base/resources/drawable-large-hdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-hdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-mdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-mdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-xhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-large-xxhdpi-v11/new_tablet_default_favicon.png => mobile/android/base/resources/drawable-large-xxhdpi-v11/toolbar_favicon_default.png
rename : mobile/android/base/resources/drawable-mdpi/favicon.png => mobile/android/base/resources/drawable-mdpi/favicon_globe.png
rename : mobile/android/base/resources/drawable-xhdpi/favicon.png => mobile/android/base/resources/drawable-xhdpi/favicon_globe.png
extra : rebase_source : ca4b33706dcc41499f42f029aeb7afd2eac3ab2e
We couldn't do this before because the button declaration was shared by old and
new tablet - this is no longer a problem now that old tablet is no longer in
use.
--HG--
extra : rebase_source : 1e798b1d2c66af5e34d8ddbc14db06d94665f5e7