Adding specific buckets for N5 in dynamic grid. (Bug 12604220)

Change-Id: I1fa62b7d16f557c7191fb1666d687b8784a88857
Avoid NPE from delayed Runnable

Naive fix to b/12656485. Other Runnables in Launcher similarly check
that mWorkspace hasn't become null between being posted and being
executed, so I think this is probably appropriate.

Bug: 12656485
Change-Id: Ib4f3d0e8686c6249fe838144b1e8120c85f66f01
Defend against missing DB during migration.

Bug: 12600784
Change-Id: Ie295d2ac970eab798b9826748d400cd30a04662d
Adding tighter first run checks for migration clings. (Bug 12626290)

Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
Catch exceptions if Exif is malformed

Bug: 11650650

Change-Id: Iee8f1675850c692fe54dc619f3e969ba180e4206
Fix bug: Scroll position reported incorrectly to live wallpapers

Bug: 11189265

Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
Fix black flash during rotation of -1 screen with GEL.

We need to make sure the custom content is adding synchronously
while the rest of the workspace is being created. If we wait
for it to be added in a separate run task, we see a black
flash during rotation.
Also rename a few methods and remove obsolete methods.

Bug: 11802691
Change-Id: I3f6500aa1fabe68cef59ad8c764877f954986a99
Missing paddingRight added.

Bug: 8166178
Change-Id: Ie2ba02a1ad85d29f1028fe021ade37975b453305
Do not show overview when menu pressed on CustomContent screen.

Bug: 12524591
Change-Id: I2bc0c4d206214d994c9a9e1bd13b42f2e53dba9f
Fix deprecated EMPTY_ARRAY usage (nanoprotos).

Newer nanoproto compiler discourages the use of this.

Change-Id: Ic27a6d15f2892bb49df3100147c086a2bce20fd4
Ensure we don't call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)

Change-Id: I25115b9529c21d3079f50bc26bad8f846a6fcd3e
Small refactor to separate adding workspace / all apps items

Change-Id: I06b7bc7f7f0e01696cb9670b8385e5148593e3e0
Fix NPE in when dropping from all apps (issue 12917451)

When dropping from all apps, accept drop was returning true if the item
was above a folder, however, when it came time to complete the drop,
the folder wouldn't accept the item. This can be prevented by increasing
the criteria in acceptDrop.

Change-Id: Ib644ec45984e8366c33bb674f3d3a76e22ed5160
Do updateWorkspaceScreenOrder inside a single transaction.

The workspacescreens table is updated in LauncherModel.updateWorkspaceScreenOrder
and that the operation to remove all screens, then reinsert the new list of
screens in not inside a single transaction, so if the app is updating or
crashes between ContentResolver.delete and ContentResolver.bulkInsert then
the data will be lost. This CL makes it all happen inside 1 transaction.

Bug: 12523285
Change-Id: I409dbc9f48fa9c8bd4bf3b1453204a4daac1689a
Implement spring-loading of folders when dragging over.

Bug: 8912132
Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
Fix for Can't convert to dimension: type=0x12 Crash on JB deviecs.

Bug: 11578157
Change-Id: I116cef5f30e9028348cd028eaf46038d9d79bdd3
Fixed visibility issue of save button in case the url loading failed

Bug: 12953091
Change-Id: Idc640532e2c2c6143d49d330bd541682eca64ac5
Updating Read/Write settings permission protectionLevels. (Bug 11372484)

Change-Id: Ia7e4366191c580e8989af087de455c4c71b9c18d
Revert "Disabled the wallpaper when completely in -1 Now space."

This reverts commit f3a8e8c0bd8b0dbe3991e5ad9d315e6e253e92eb.

Bug: 12978354
Change-Id: I11f1eeaab4fad9a2e4acf835144f0b0dc6fac54b
skip backup if launcher is in a bad state

Bug: 13153542
Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726