This patch does several things, all in one commit because of a schema update:
* Uses _id instead of guid when referring to reading list items, allowing the guid column to be null.
* Reworks schema upgrading.
* Completely revises the reading list schema itself.
* Fixes the tests.
* Cleans up how we do deletion: if an item hasn't yet been synced, it's simply deleted immediately. We can do this because the server allocates GUIDs.
* Adds columns to manage sync-related metadata.
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 : 60d64fbea4e8e32e14f1e8120a32d8c6db76b30f
extra : source : e755879c138c1a3ca96ba9da9f9244cb5bfd755f
The Android ARchive contains the compiled Gecko libraries that Firefox
for Android interfaces to. It does not contain the Gecko resources
(the omnijar, omni.ja) nor the compiled Java code (classes.dex).
This also uploads metadata and sha1 hashes for future consumption by
Maven and/or Ivy dependency managers. In some brave future world,
we'll work out exactly what that looks like; for now, this solves a
storage problem (each .aar file is ~20MB) and it's possible to point
Gradle directly at the uploaded Ivy metadata and artifacts.
--HG--
extra : rebase_source : 0c12b44f587d4a027ca5258bae8fcbb6f6028c24
Sometimes it's convenient to want to do an UPDATE query like:
UPDATE foo
SET bar = bar | 5
or similar -- that is, refer to existing values in the SET expression.
This patch allows that, accepting an array of ContentValues and an array of
operations as input. A single UPDATE will be constructed from the entire input.
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