Commit Graph

7884 Commits

Author SHA1 Message Date
Adam Cohen 474a35735a Merge "Avoid stripping empty screens if the workspace is still loading (issue 12523285)" into ub-now-lunchbox 2014-03-03 19:07:23 +00:00
Christoph Studer 8657bac9b5 Merge "Guard against null default wallpaper" into ub-now-lunchbox 2014-03-03 16:00:06 +00:00
Christoph Studer 7084c606eb Guard against null default wallpaper
Deal with WallpaperManager.getBuiltInDrawable() returning null.

Bug: 13109487
Change-Id: Ib5665a0eb947e9784cdcd0e8dfab1a01b4deca82
2014-03-03 15:35:25 +01:00
Adam Cohen 517a7f5fd0 Avoid stripping empty screens if the workspace is still loading (issue 12523285)
-> This appears to be what may be causing data loss in some users during update.
   A certain (seemingly) rare combination of life-cycle events and package events
   seems to be the culprit (potentially why it's seen at update time).

Change-Id: Iea4f8aef012ba80b7ba568e0df264edb9284efbe
2014-03-01 12:17:44 -08:00
Selim Cinek 3aa28319ce Changed inconsistency when selecting default wallpaper, where it did not go back to home.
Bug: 13219313
Change-Id: I4961c6724a1550dbae126f97e45dc166cbe9a565
2014-02-28 18:03:15 +01:00
Jorim Jaggi 4f462f4a8b Merge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub-now-lunchbox 2014-02-28 14:52:44 +00:00
Chris Wren 7114426665 skip backup if launcher is in a bad state
Bug: 13153542
Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726
2014-02-27 15:49:39 -05:00
Jorim Jaggi b45b65e1e5 Revert "Disabled the wallpaper when completely in -1 Now space."
This reverts commit f3a8e8c0bd.

Bug: 12978354
Change-Id: I11f1eeaab4fad9a2e4acf835144f0b0dc6fac54b
2014-02-27 20:33:46 +01:00
Winson Chung 3de6ea8647 Merge "Updating Read/Write settings permission protectionLevels. (Bug 11372484)" into ub-now-lunchbox 2014-02-26 19:58:19 +00:00
Winson Chung c66109caf6 Updating Read/Write settings permission protectionLevels. (Bug 11372484) 2014-02-26 11:50:46 -08:00
Baligh Uddin e8cc0905e0 Merge "Import translations. DO NOT MERGE" into ub-now-lunchbox 2014-02-25 17:23:59 +00:00
Selim Cinek d266d0fae0 Merge "Fixed visibility issue of save button in case the url loading failed" into ub-now-lunchbox 2014-02-25 13:26:07 +00:00
Selim Cinek c13e0a5cf1 Fixed visibility issue of save button in case the url loading failed
Bug: 12953091
Change-Id: Idc640532e2c2c6143d49d330bd541682eca64ac5
2014-02-25 14:23:57 +01:00
Baligh Uddin 10addc3e0e Import translations. DO NOT MERGE
Change-Id: I2b7248218fe16856a9721b8b9169700977f19d00
Auto-generated-cl: translation import
2014-02-24 13:59:57 -08:00
Chris Wren 0e4a365e0d Merge "use restored icon for restored app shortcuts" into ub-now-lunchbox 2014-02-24 21:59:34 +00:00
Adam Cohen 71e03b9979 Fix issue where clings didn't appear after set up wizard (issue 13077829)
-> Also removed the db-created as a criteria for showing the clings
   (this was a bit problematic in some cases and going forward)
-> Instead, we use database upgrade as a signal to not show the clings.
   This is used instead of the above criteria (to prevent old users from
   seeing the migration cling and losing their data.)
-> Stripped some old code related to custom clings that's no longer used.

Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
2014-02-21 14:37:53 -08:00
Baligh Uddin 36c123ec6b am 9594e887: (-s ours) am 37fe7d2b: (-s ours) am f42cf7de: (-s ours) Import translations. DO NOT MERGE
* commit '9594e887712d8dfca47c0f160a24cfb7a8262cb8':
  Import translations. DO NOT MERGE
2014-02-20 13:12:42 -08:00
Baligh Uddin 9594e88771 am 37fe7d2b: (-s ours) am f42cf7de: (-s ours) Import translations. DO NOT MERGE
* commit '37fe7d2b99dc514f567b31e5931d054bacefe377':
  Import translations. DO NOT MERGE
2014-02-20 13:10:18 -08:00
Baligh Uddin 37fe7d2b99 am f42cf7de: (-s ours) Import translations. DO NOT MERGE
* commit 'f42cf7de53f9f500ae06b62b9097b9edc7884a2b':
  Import translations. DO NOT MERGE
2014-02-20 13:08:48 -08:00
Baligh Uddin f42cf7de53 Import translations. DO NOT MERGE
Change-Id: I4fb41af97a881f6669af15ddd6db1af4f3429765
Auto-generated-cl: translation import
2014-02-20 09:39:20 -08:00
Chris Wren 6d0dde01f3 use restored icon for restored app shortcuts
Bug: 10778992
Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
2014-02-14 11:49:30 -05:00
Yura c0bb4a19bb Fix for Can't convert to dimension: type=0x12 Crash on JB deviecs.
Bug: 11578157
Change-Id: I116cef5f30e9028348cd028eaf46038d9d79bdd3
2014-02-13 19:37:32 +00:00
Jorim Jaggi 55bd9725d5 Implement spring-loading of folders when dragging over.
Bug: 8912132
Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
2014-02-12 22:16:51 +01:00
Baligh Uddin f180497bc3 am 57251be2: (-s ours) Import translations. DO NOT MERGE
* commit '57251be2d77ad94f05c49d42d682ec008a6e211d':
  Import translations. DO NOT MERGE
2014-02-11 13:28:18 -08:00
Baligh Uddin 17d9bf66dc Merge "Import translations. DO NOT MERGE" into ub-now-lunchbox 2014-02-11 21:26:32 +00:00
Yura 085c853a57 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
2014-02-11 15:15:29 +00:00
Baligh Uddin 30e43d723d Import translations. DO NOT MERGE
Change-Id: Icb76bf81b4253215543f7e384efac9eb23e0c432
Auto-generated-cl: translation import
2014-02-10 15:40:51 -08:00
Baligh Uddin 57251be2d7 Import translations. DO NOT MERGE
Change-Id: Icfe6248a812a2aa103c830a9fabe22de9ff228bb
Auto-generated-cl: translation import
2014-02-10 15:39:10 -08:00
Adam Cohen ec0d61d79e 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
2014-02-07 16:34:51 -08:00
Chris Wren b6d4c2827a update placeholder on package install or restore
Bug: 10778992
Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
2014-02-06 15:05:16 -05:00
Adam Cohen c87c21a0cd Merge "Small refactor to separate adding workspace / all apps items" into ub-now-lunchbox 2014-02-05 22:25:41 +00:00
Winson Chung cb2de6f8a0 am 6033ceb4: Ensure we don\'t call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)
* commit '6033ceb438d2d8e6c8406e2b61ae515e6156965c':
  Ensure we don't call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)
2014-02-05 13:59:48 -08:00
Adam Cohen 76a47a1b22 Small refactor to separate adding workspace / all apps items
Change-Id: I06b7bc7f7f0e01696cb9670b8385e5148593e3e0
2014-02-05 13:05:02 -08:00
Winson Chung 6033ceb438 Ensure we don't call getLayoutDirection() for devices not running JB MR1+. (Bug 12906355)
Change-Id: I25115b9529c21d3079f50bc26bad8f846a6fcd3e
2014-02-05 20:39:15 +00:00
Mac Duy Hai 22dc65e741 Fix deprecated EMPTY_ARRAY usage (nanoprotos).
Newer nanoproto compiler discourages the use of this.

Change-Id: Ic27a6d15f2892bb49df3100147c086a2bce20fd4
2014-02-05 10:52:07 +00:00
Yura 4f93ec63b1 Do not show overview when menu pressed on CustomContent screen.
Bug: 12524591
Change-Id: I2bc0c4d206214d994c9a9e1bd13b42f2e53dba9f
2014-02-04 16:30:23 +00:00
Yura fc2440566a Merge "Missing paddingRight added." into ub-now-lunchbox 2014-02-04 16:00:31 +00:00
Yura 1c8cb6fa77 Missing paddingRight added.
Bug: 8166178
Change-Id: Ie2ba02a1ad85d29f1028fe021ade37975b453305
2014-02-04 15:36:35 +00:00
Geoff Mendal e68504f4a1 Import translations. DO NOT MERGE
Change-Id: Ieaf2484f1b08841a5fecd5050c4df75125e1cecf
Auto-generated-cl: translation import
2014-02-03 16:50:19 -08:00
Baligh Uddin d25f91b036 am f47cc890: (-s ours) Import translations. DO NOT MERGE
* commit 'f47cc890e9475b31acd1416de57d32062d395e9e':
  Import translations. DO NOT MERGE
2014-01-31 16:25:44 -08:00
Baligh Uddin f47cc890e9 Import translations. DO NOT MERGE
Change-Id: I630533bcc5d004fc677f54233f8d0578e119ab4e
Auto-generated-cl: translation import
2014-01-31 15:57:58 -08:00
Derek Prothro 93b92d0895 Merge "Fix black flash during rotation of -1 screen with GEL." into ub-now-lunchbox 2014-01-30 22:03:55 +00:00
Derek Prothro dadd984a89 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
2014-01-30 15:55:48 -05:00
Michael Jurka 2a4f4928a9 Fix bug: Scroll position reported incorrectly to live wallpapers
Bug: 11189265

Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
2014-01-30 14:21:09 +01:00
Sandeep Siddhartha d805837a87 Add callback for "Widgets" button click in launcher
Bug: 12553852
Change-Id: I8befd046242b32e86dbc6c98e6d97f0307380dd0
2014-01-28 10:41:15 -08:00
Chris Wren f4d081107f handle shortcut restore for missing packages
Bug: 10778992
Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
2014-01-27 17:30:48 -05:00
Dan Sandler 947ef4e7ab am 7a9cda18: Merge "Defend against missing DB during migration." into jb-ub-now-kermit
* commit '7a9cda18eb31b5ab47d7eca064374eaa6efdc268':
  Defend against missing DB during migration.
2014-01-24 21:02:03 -08:00
Dan Sandler 7a9cda18eb Merge "Defend against missing DB during migration." into jb-ub-now-kermit 2014-01-25 05:00:33 +00:00
Michael Jurka 523e762ad4 Merge "Catch exceptions if Exif is malformed" into ub-now-lunchbox 2014-01-24 12:04:45 +00:00
Winson Chung d6467b98e8 am 2aaf6e33: Merge "Adding tighter first run checks for migration clings. (Bug 12626290)" into jb-ub-now-kermit
* commit '2aaf6e339000646501bc3d73e497a365174fad26':
  Adding tighter first run checks for migration clings. (Bug 12626290)
2014-01-23 12:23:35 -08:00