summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert "Workspace: Extra empty screen both left and right"Danesh M2014-06-062-95/+74
| | | | | | This reverts commit d4c825cc639bceae57de6dec2c82d6a7633977f7. Change-Id: I53e036ee56bf7bcd817a01ebc18520021e2b4202
* Remove settings in overview mode for Launcher3.Jorim Jaggi2014-06-063-6/+37
| | | | | | | | | | The appereance of the settings button in overview mode is now dependent on a overridable method, such that we can have it in GEL, but not in Launcher3. This change also adjusts the logic of how wide the overview panel is, depending on how many items we have. Bug: 12441429 Change-Id: Ibf537c26602785f565292cbfa213eb123469ebcd
* Fixing drop targets in phone / small tablet landscape (issue 12192781)Adam Cohen2014-06-0613-38/+20
| | | | Change-Id: I4dc8a82c8cd5ef279506e7868e33a455fba5a3be
* Ensure that hasFirstRunActivity is only called when necessaryAdam Cohen2014-06-061-3/+4
| | | | Change-Id: I834abcd82f46c6f096f5c92452b34c668a4a3d86
* Keep selected wallpaper on configuration change.Jorim Jaggi2014-06-061-7/+15
| | | | | | | | | | Keeps the currently selected wallpaper when a configuration (for example, device rotation) occurs. This change also effects the logic when the thumbnail gets displayed after loading the image from an external URI, as this must be now handled independently of which wallpaper is selected. Bug: 11007874 Change-Id: Id676c378aec38d0b21e5d9150846f33aff415cad
* search for a valid journalChris Wren2014-06-061-19/+33
| | | | | | | | there are too many bytes, so we need to find the valid subset, without stepping past the end! Bug: 12489602 Change-Id: Ic9d7c804c199740ff50d0864f99632ae68619369
* Fix NPE in Workspace.onDropCompletedJorim Jaggi2014-06-062-1/+11
| | | | | Bug: 11627757 Change-Id: I9dc86856d4bc00253d6350d157be541a8c46888d
* Properly saving migration cling keys.Winson Chung2014-06-061-6/+5
| | | | Change-Id: Id52a12da6af0fc91463dae07bbeb355ee04873d0
* restore app favorites and screensChris Wren2014-06-062-9/+89
| | | | | | | version 0: restore assuming apps are already installed. Bug: 10779035 Change-Id: I7f9aa418a7d3d5460a79a229c0fbc80305b5eb5c
* Fix longpress crash.Dan Sandler2014-06-062-42/+2
| | | | | | | | | | | The AllApps button doesn't usually accept longpresses, but you can trick it into trying by holding one finger on it and another on another icon in the hotseat. This patch defends against that and bails out if the longpressed item has the all apps rank (position in hotseat). Bug: 11740833 Change-Id: I99785ccbc9e6dc6be2a9e56289b3cc0275fbb65c
* Add ability to center the crop (disabled)Michael Jurka2014-06-062-5/+18
|
* Increasing string length for translation (Bug 12524122)Winson Chung2014-06-061-1/+1
| | | | Change-Id: I24e053790812779ec07de99c6f763965584a1bb7