Anjali Koppal
fc4787f7be
Merge "Make FolderIcon.getFolder() public and add Folder.getContent()." into ub-now-mister-ugly
2014-03-13 00:21:52 +00:00
Chris Wren
42c725fe68
enable launcher restore by default
...
shortcuts are wroking, widgets are todo
Bug: 10778992
Change-Id: I938b6d6ba5b68769628337955a17badaece1433f
2014-03-11 14:36:00 -04:00
Chris Wren
76336cfcd6
Merge "update promise icon status" into ub-now-mister-ugly
2014-03-11 17:48:42 +00:00
Chris Wren
aeff7ea434
update promise icon status
...
also fix a crash in LauncherModel.DEBUG_LOADERS
Bug: 10778992
Change-Id: Iafc28c1e0c2f2a1283783a7ce27e181634b62993
2014-03-11 13:41:05 -04:00
Anjali Koppal
f05545fcc2
Make FolderIcon.getFolder() public and add Folder.getContent().
...
Change-Id: I21ad8b8178acbde2759cd2dfcd015d91e00b7505
2014-03-10 19:18:43 -07:00
Jason Monk
9364986c83
Merge "Add support for uri favorites and resolve groups" into ub-now-mister-ugly
2014-03-10 18:29:38 +00:00
Dan Sandler
bfbd52a5e6
am eac828e0: Merge "Don\'t lose icons when migrating from different-sized hotseats." into ub-now-lunchbox
...
* commit 'eac828e0fec7085d0d6b670d578eaaf36ae2e3ca':
Don't lose icons when migrating from different-sized hotseats.
2014-03-07 13:09:03 -08:00
Dan Sandler
eac828e0fe
Merge "Don't lose icons when migrating from different-sized hotseats." into ub-now-lunchbox
2014-03-07 20:15:17 +00:00
Jason Monk
41314973b4
Add support for uri favorites and resolve groups
...
Adds support for new types in default_workspace xml files.
Adds support to favorite that attempts to resolve an intent specified
by URI. If a logical choice can be found from the resolve, it adds the
shortcut.
Adds support for a resolve, which contains several favorites and attempts
to add the shortcuts until one is successful.
Bug: 10547358
Change-Id: Ia30341e77e7d4a0bd4a4f4e6a3d9ce2a48a46237
2014-03-07 13:35:34 -05:00
Selim Cinek
3a8a8f7c23
Disable wallpaper in -1 space in GEL and hack around window animations
...
Bug: 12978354
Change-Id: I8b5602ae434a9151b40d41defb891db1ad78ce81
2014-03-07 14:30:36 +01:00
Dan Sandler
ab5fa3a06a
Don't lose icons when migrating from different-sized hotseats.
...
Launcher2 on sw720dp devices had 8 hotseat slots; Launcher3
has only 6 on those same devices. When importing the old
hotseat, the empty slot (so technically there were 9)
occupied by the all apps button didn't line up with the new
all apps button, causing a hole on the hotseat. Furthermore,
the icon in old position 3 was clobbered by the new all apps
icon:
0 1 2 3 (#) 4 5 6 7 ==> 0 1 2 (:) _ 4 5
In this CL we introduce a separate sort-and-place step for
hotseat icons so that any icon colliding with the new
all-apps slot can be moved to the right to find the next
nearest open slot. This works well for the 8->6 case; it
will probably do something reasonable, if not ideal, for
other grid migration scenarios.
But those are not covered by this bug.
Bug: 13015468
Change-Id: I7edb3f27addc78ad02bbfcd1c39175ca56220007
2014-03-06 23:54:24 -05:00
Adam Cohen
497ecbd311
am ac8180ac: Merge "Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"" into ub-now-lunchbox
...
* commit 'ac8180ac7856e4739c147bee3f419b19573c3dae':
Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"
2014-03-06 16:42:28 -08:00
Adam Cohen
ac8180ac78
Merge "Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"" into ub-now-lunchbox
2014-03-07 00:39:23 +00:00
Adam Cohen
8a4a731b0f
Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"
...
This reverts commit b2603e3d3a .
Change-Id: I81f8c5a4e3861b936ef9e1fbdb339c12d5aefc70
2014-03-06 22:30:35 +00:00
Winson Chung
19e213f60d
am c6c03671: Disabling cling when the user moves the folder before launching it. (Bug 12963868)
...
* commit 'c6c0367111e587c7f19cb8185dcda550aa94a848':
Disabling cling when the user moves the folder before launching it. (Bug 12963868)
2014-03-06 11:50:24 -08:00
Winson Chung
eb23cb2a90
Properly releasing ContentProviderClient after LauncherModel check.
...
Change-Id: I0823ada46661b5ba0c36a0bb9f792969a1d04561
2014-03-06 18:41:51 +00:00
Winson Chung
c6c0367111
Disabling cling when the user moves the folder before launching it. (Bug 12963868)
...
Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
2014-03-06 10:33:41 -08:00
Anjali Koppal
7b168a1bb9
Make classes that extend ItemInfo public.
...
Also follow up on changes in ag/418520, adding Views to those method
params.
Change-Id: I93e0a3b30d10b969d1903a2f227f6744d709e89a
2014-03-04 17:16:11 -08:00
Adam Cohen
919ce78038
am 7da05a50: Merge "Fix issue of extra blank screen after uninstall (issue 12372657)" into ub-now-lunchbox
...
* commit '7da05a506cdc651a77df918ec20d6aa881ca51b2':
Fix issue of extra blank screen after uninstall (issue 12372657)
2014-03-03 16:32:59 -08:00
Adam Cohen
7da05a506c
Merge "Fix issue of extra blank screen after uninstall (issue 12372657)" into ub-now-lunchbox
2014-03-04 00:14:38 +00:00
Adam Cohen
b2603e3d3a
Fix issue of extra blank screen after uninstall (issue 12372657)
...
Change-Id: I0326914821f68d789cb26767518ead1292d87db0
2014-03-03 16:12:35 -08:00
Adam Cohen
89d0bf0713
am 65e43032: Fix build
...
* commit '65e43032c8962765a3e89826d4312042a03ee3be':
Fix build
2014-03-03 11:39:35 -08:00
Adam Cohen
65e43032c8
Fix build
...
Change-Id: I17944c557970ed35e1bc67f6f3e3372ff88651ad
2014-03-03 11:37:27 -08:00
Adam Cohen
6902916b07
am 474a3573: Merge "Avoid stripping empty screens if the workspace is still loading (issue 12523285)" into ub-now-lunchbox
...
* commit '474a35735ae758757dfd161a5c045d027bb9e033':
Avoid stripping empty screens if the workspace is still loading (issue 12523285)
2014-03-03 11:19:36 -08:00
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
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
Anjali Koppal
feec09d731
Merge "Make launcher implement PageSwitchListener." into ub-now-mister-ugly
2014-02-28 22:32:06 +00:00
Anjali Koppal
f5d29130b9
Make launcher implement PageSwitchListener.
...
Change-Id: Ief4b0cb4700aeace56a3c923a0a669a626c6506b
2014-02-28 13:33:27 -08:00
Jorim Jaggi
e69746dc88
am 4f462f4a: Merge "Revert "Disabled the wallpaper when completely in -1 Now space."" into ub-now-lunchbox
...
* commit '4f462f4a8b9fc6897d9fab9ad31c06e0b8f79373':
Revert "Disabled the wallpaper when completely in -1 Now space."
2014-02-28 06:55:56 -08: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
71bc71fb7e
am 71144266: skip backup if launcher is in a bad state
...
* commit '7114426665c21a11464147a8bb5e094b7949db42':
skip backup if launcher is in a bad state
2014-02-27 12:57:07 -08: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
Chris Wren
0fe418832a
am 0e4a365e: Merge "use restored icon for restored app shortcuts" into ub-now-lunchbox
...
* commit '0e4a365e0d0220aff3cf60aa390fe9fcc05dbea1':
use restored icon for restored app shortcuts
2014-02-25 08:21:35 -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
1c471f4c3b
am 71e03b99: Fix issue where clings didn\'t appear after set up wizard (issue 13077829)
...
* commit '71e03b9979b5ee4c30daa7eb0a704ec92b38431b':
Fix issue where clings didn't appear after set up wizard (issue 13077829)
2014-02-21 14:40:50 -08: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
Chris Wren
6d0dde01f3
use restored icon for restored app shortcuts
...
Bug: 10778992
Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
2014-02-14 11:49:30 -05:00
Sandeep Siddhartha
92ecd2346b
Merge "Refactor clicks and remove dead code" into ub-now-mister-ugly
2014-02-14 03:34:49 +00:00
Sandeep Siddhartha
a942030eb6
Refactor clicks and remove dead code
...
Change-Id: Id92f43b4f6b31707a18035dace6ad14ab728d0bb
2014-02-13 17:37:15 -08: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
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
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