summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* When CustomContent is enabled prevent it from displaying in OverView modeRaj Yengisetty2014-06-092-3/+10
| | | | Change-Id: Iebcedb0d2bee3e6cd400847190e05916db87d265
* Include settings check for displaying SearchBarRaj Yengisetty2014-06-091-0/+16
| | | | | | | | | | Repro: - Open settings panel - Toggle SearchBar off - Observe SearchBar is off - Press Home Button - Launcher Restarts - Observe Dynamic Grid doesn't show space for SearchBar but SearchBar is visible!
* Fixed DynamicProfile for Live Settings supportRaj Yengisetty2014-06-071-7/+6
|
* Fix issue where clings didn't appear after set up wizard (issue 13077829)Adam Cohen2014-06-074-67/+14
| | | | | | | | | | | -> 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
* use restored icon for restored app shortcutsChris Wren2014-06-074-42/+237
| | | | | Bug: 10778992 Change-Id: Ie430a6587d49dc0d78b87b81582c0cef7c281017
* update placeholder on package install or restoreChris Wren2014-06-075-4/+88
| | | | | Bug: 10778992 Change-Id: I3293d8bab8ae0ef49fc5554531bba5bd6f70932c
* Add callback for "Widgets" button click in launcherSandeep Siddhartha2014-06-071-1/+9
| | | | | Bug: 12553852 Change-Id: I8befd046242b32e86dbc6c98e6d97f0307380dd0
* handle shortcut restore for missing packagesChris Wren2014-06-074-15/+122
| | | | | Bug: 10778992 Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
* Don't lose icons when migrating from different-sized hotseats.Dan Sandler2014-06-062-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Revert "Fix issue of extra blank screen after uninstall (issue 12372657)"Adam Cohen2014-06-061-1/+0
| | | | | | This reverts commit b2603e3d3a32c90ca13458409561d025afdce399. Change-Id: I81f8c5a4e3861b936ef9e1fbdb339c12d5aefc70
* Disabling cling when the user moves the folder before launching it. (Bug ↵Winson Chung2014-06-062-0/+17
| | | | | | 12963868) Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
* Fix issue of extra blank screen after uninstall (issue 12372657)Adam Cohen2014-06-061-0/+1
| | | | Change-Id: I0326914821f68d789cb26767518ead1292d87db0
* Changed behaviour of the wallpaper picker.Selim Cinek2014-06-067-27/+182
| | | | | | | | | | | | | | | | | When opening the picker, the currently chosen wallpaper is shown in the background. In this change also the nullpointer was fixed when deleting the currently selected wallpaper and setting it, because we revert to the old wallpaper in that case. When going into the same live wallpaper than the currently selected we are going back to home if the user sets it or goes back now, in order for the user not to loose state. The real fix for this will be done later when the following bug will be fixed: b/13241760 Bug: 12063773 Bug: 13219612 Change-Id: I7c6abb25755eca99c3255278e0884d1ff4749b55
* Guard against null default wallpaperChristoph Studer2014-06-061-9/+15
| | | | | | | Deal with WallpaperManager.getBuiltInDrawable() returning null. Bug: 13109487 Change-Id: Ib5665a0eb947e9784cdcd0e8dfab1a01b4deca82
* Changed inconsistency when selecting default wallpaper, where it did not go ↵Selim Cinek2014-06-061-0/+1
| | | | | | | back to home. Bug: 13219313 Change-Id: I4961c6724a1550dbae126f97e45dc166cbe9a565
* skip backup if launcher is in a bad stateChris Wren2014-06-061-8/+50
| | | | | Bug: 13153542 Change-Id: I4312ebd200e8e652ef841f54301981c2a486b726
* Revert "Disabled the wallpaper when completely in -1 Now space."Jorim Jaggi2014-06-061-1/+1
| | | | | | | This reverts commit f3a8e8c0bd8b0dbe3991e5ad9d315e6e253e92eb. Bug: 12978354 Change-Id: I11f1eeaab4fad9a2e4acf835144f0b0dc6fac54b
* Updating Read/Write settings permission protectionLevels. (Bug 11372484)Winson Chung2014-06-061-2/+2
| | | | Change-Id: Ia7e4366191c580e8989af087de455c4c71b9c18d
* Fixed visibility issue of save button in case the url loading failedSelim Cinek2014-06-061-0/+1
| | | | | Bug: 12953091 Change-Id: Idc640532e2c2c6143d49d330bd541682eca64ac5
* Fix for Can't convert to dimension: type=0x12 Crash on JB deviecs.Yura2014-06-064-5/+58
| | | | | Bug: 11578157 Change-Id: I116cef5f30e9028348cd028eaf46038d9d79bdd3
* Implement spring-loading of folders when dragging over.Jorim Jaggi2014-06-065-61/+147
| | | | | Bug: 8912132 Change-Id: Id81889a133e56461df2e20599c4b40020818ba18
* Do updateWorkspaceScreenOrder inside a single transaction.Yura2014-06-062-4/+26
| | | | | | | | | | | 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
* Fix NPE in when dropping from all apps (issue 12917451)Adam Cohen2014-06-061-4/+5
| | | | | | | | | 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
* Small refactor to separate adding workspace / all apps itemsAdam Cohen2014-06-063-22/+46
| | | | Change-Id: I06b7bc7f7f0e01696cb9670b8385e5148593e3e0
* Ensure we don't call getLayoutDirection() for devices not running JB MR1+. ↵Winson Chung2014-06-061-1/+5
| | | | | | (Bug 12906355) Change-Id: I25115b9529c21d3079f50bc26bad8f846a6fcd3e
* Fix deprecated EMPTY_ARRAY usage (nanoprotos).Mac Duy Hai2014-06-061-2/+2
| | | | | | Newer nanoproto compiler discourages the use of this. Change-Id: Ic27a6d15f2892bb49df3100147c086a2bce20fd4
* Do not show overview when menu pressed on CustomContent screen.Yura2014-06-061-9/+15
| | | | | Bug: 12524591 Change-Id: I2bc0c4d206214d994c9a9e1bd13b42f2e53dba9f
* Missing paddingRight added.Yura2014-06-061-0/+1
| | | | | Bug: 8166178 Change-Id: Ie2ba02a1ad85d29f1028fe021ade37975b453305
* Fix black flash during rotation of -1 screen with GEL.Derek Prothro2014-06-062-22/+9
| | | | | | | | | | | 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
* Fix bug: Scroll position reported incorrectly to live wallpapersMichael Jurka2014-06-061-2/+22
| | | | | | Bug: 11189265 Change-Id: I410f318df4e43ed13d33889a8158a03438a6174f
* Catch exceptions if Exif is malformedMichael Jurka2014-06-062-0/+9
| | | | | | Bug: 11650650 Change-Id: Iee8f1675850c692fe54dc619f3e969ba180e4206
* Adding tighter first run checks for migration clings. (Bug 12626290)Winson Chung2014-06-062-1/+13
| | | | Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
* Defend against missing DB during migration.Dan Sandler2014-06-061-2/+4
| | | | | Bug: 12600784 Change-Id: Ie295d2ac970eab798b9826748d400cd30a04662d
* Avoid NPE from delayed RunnableIan Parkinson2014-06-061-3/+5
| | | | | | | | | 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
* Adding specific buckets for N5 in dynamic grid. (Bug 12604220)Winson Chung2014-06-061-3/+5
| | | | Change-Id: I1fa62b7d16f557c7191fb1666d687b8784a88857
* Dismissing search and other overlays when the menu button is pressed. (Bug ↵Winson Chung2014-06-061-1/+10
| | | | 12524591)
* Disable Set Wallpaper button while loading imageMichael Jurka2014-06-063-0/+10
| | | | | | Bug: 12472111 Change-Id: I2a0cba47f31af2416b0dd062929f277fcbf80481
* Fix overlapping pages (issue 12551580)Adam Cohen2014-06-061-1/+1
| | | | Change-Id: I03c29c36828b6c4baadb33b13b0e852b07b2d40f
* Disabled the wallpaper when completely in -1 Now space.Selim Cinek2014-06-061-1/+1
| | | | | Bug: 11186234 Change-Id: I6ffb66f12298bd9df7e228a8589d63780b70a396
* Adding new bucket for inbetween phone-tablet layouts. (Bug 11993166)Winson Chung2014-06-061-0/+2
| | | | Change-Id: I01fc54be8059d4cd25ff465c70595683fc8ac019
* Updating screen background assets. (Bug 12136457)Winson Chung2014-06-064-0/+0
| | | | Change-Id: I48d235d9c44a53b5fbf6c244736e86cbc9f19162
* Updating Tablet clings. (Bug 11973614)Winson Chung2014-06-0624-233/+888
| | | | Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c
* Migration update: ensuring all folders go firstAdam Cohen2014-06-061-25/+50
| | | | | | | | | | | | -> Also, leave the last row empty on every screen -> Fix bug where shortcuts weren't getting moved (introduced in previous CL) -> Only dedupe items directly on the workspace Bug 12416411 Bug 12572727 Change-Id: Id95cc6081c57cc289c2a85b2a6872ee0bf3eb98a
* Lazy load the widget preview loader classMichael Jurka2014-06-061-12/+15
| | | | | | Bug: 12109621 Change-Id: Id99aded30195bf39ebcf2148611bc4e084f3b2c7
* Don't migrate shortcuts for components that no longer existAdam Cohen2014-06-062-19/+32
| | | | | | Bug 12570791 Change-Id: Ie4b55afcee0c4d1d16acf7b830d7885800943454
* rationalize launcher backup loggingChris Wren2014-06-063-43/+58
| | | | | | | | | enough data to debug dogfood issues easy switch to move to quieter production mode common switch across all three classes Bug: 12545310 Change-Id: Icb4ad7174f20884c6993140149db590d66f6e006
* Fix back button behavior for "App info" when launched by Launcher3.Adrian Roos2014-06-061-1/+2
| | | | | | | Ensures the back stack is clean when opening the "App info" app from the launcher. Bug: 10393223 Change-Id: Iad078ca37c4794a580f1b996f8324fef404e7462
* Tightening migration conditions. (Bug 11973614)Winson Chung2014-06-061-1/+1
| | | | | Change-Id: I6d7417b705227472d035f428cbec933cc6dbf2ce (cherry picked from commit e43a1e788223ab5a4405c5eeb0133ff57efbc768)
* Tightening migration conditions. (Bug 11973614)Winson Chung2014-06-063-22/+57
| | | | Change-Id: I6d7417b705227472d035f428cbec933cc6dbf2ce
* Replace "hotseat" with "Favorites tray" in user visible strings.Adrian Roos2014-06-061-2/+2
| | | | | Bug: 12078955 Change-Id: I824948d8820276caab18d6df095754a4cfb67640