a9c21c624ca15fe7aa5e65e17cdd9fb26d1ec691 |
|
16-Aug-2016 |
Louis Begin <w15621@motorola.com> |
Improve handling of external deletion in LauncherProvider.delete When deleting a widget, ensure that we also delete the corresponding widget from the system server Bug 30835877 Change-Id: I7d539c2d37ef53086d09ae128f7278941f804aeb
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a5c8a9eb666da16bc4c9ea4412868e22ace8d1f0 |
|
08-Jul-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding logic to pull in workspace data from another Launcher3 based provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
eb77aaea8990ede3ba774c7b92d48d098bda0f24 |
|
24-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing Key-Value pair backup logic as Launcher now uses full-data backup Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e26d1008eb587303db25797ca02cc32464e45656 |
|
20-Jun-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding some tracing sections around launcher startup Bug: 29007436 Change-Id: I53afd9130a2dc70a2223f1623e862faf44370f26
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a9e2f5abb3c21d9721939c625ffb0caabb34e8d9 |
|
10-Jun-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a DB update path to handle the QSB position change > Renamed the id of 1st screen to 0 and making space for the QSB by running the grid migration task. > Added a feature flag to easily disable the QSB-in-workspace behavior Change-Id: Ie3369f0d4433d916e9d6215d414770d4333f3e26
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e8f7d5a67ef71b1c6488f52145482a8876c1b708 |
|
24-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Executing the DB migration during startup instead of restore. This allows proper execution of DB.onUpgrade task if the app updates after the restore Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
da4fe1a6244457f144e0a331cada3ada17157809 |
|
27-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Moving the QSB to the workspace grid. The QSB will only be resent on the first screen of the workspace covering the full width of the first row. If will not be movable. The first screen of the workspace will not be movable. The searchDropTargetBar no longer contains the QSB (it can be renamed in aseparate cl). Refactoring all QSB related logic by moving it to a custom view inflated only using xml. Change-Id: Icb4fd6eb855df1af15f685961c38351bf4fd4f4a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
ded0fdba52d94f8c841598a14dbece36a2f1849c |
|
24-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing logic for workspace migration from Launcher2 Change-Id: I8a121d74862f665c58406f8d5c7eb1263e7ccff3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f48e59268bf801cf4f4d1e6715871e14fea31ce3 |
|
13-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Making the 'Allow rotation' setting dependent on system state The setting will not be available on a tablet, where rotation is always enabled. On mobiles, it will be disabled when auto-rotate is disabled in display settings. Also removing content provider dependency from settings, as its in the same process as launcher. Bug: 28704055 Change-Id: Ibe6b1e67411fb0e4b2e36446710f463e4a3d6883
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
eb4b79935e9f75dda72e4953f45e616e252d7b03 |
|
21-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing icon_type column Icon type is not used consistently. It is used initially during the loader. Afterwards, we save both the icon and resource to the db. Instead of changing the logic to always read the shortcut-resource first, and fallback to the bitmap if the resource is not available, always write the bitmap to DB whenever the shortcut is edited. Change-Id: I0ea5e88f8904bd3250ca669220b3e5d6aeef1bfd
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c190dbfb784c0bca629b6966ce314d735cf98db3 |
|
05-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding full backup handler for launcher3 Bug: 28302573 Change-Id: If0889a3b00b88b134b19d7f790159dfafdcdb004
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
b5b55c8012c124182c1bd07bdd4be1e734d972d0 |
|
10-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing LauncherProvider dependency in DatabaseHeler This will allow DatabaseHeler to easily be moved to an independent class Change-Id: I9a3d5d3380ed0af246d7a01553a492467c3096b0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3 |
|
02-May-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Chaning the behavior of settings activity. > Making all twoState prefs backed by content provider > Using the stadard intent defined in N for settings > Using SharedPrefsListener instead of LauncherProvider Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
cc8f9e0af7f9acc6f03a1a0173d3e118b4e96ae5 |
|
21-Apr-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some deprecated columns. Removing these columns will ensure that new installs do not get this column, without affecting the upgrades. Change-Id: If06edcd2f899f30b5427c07e72a170ccefc32dd6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
827cef203f386cb548b98a7fa9888b75478c8e20 |
|
17-Mar-2016 |
Tony Wickham <twickham@google.com> |
Added ColorExtractionService and ExtractedColors. - Launcher has an instance of ExtractedColors, which is loaded from LauncherProvider in onCreate() and whenever the wallpaper changes. - When the wallpaper changes, the ColorExtractionService is started in the :wallpaper-chooser process. - ColorExtractionService builds an ExtractedColors instance and saves it as a String in LauncherProvider. - When the results are saved, Launcher gets a callback through LauncherProviderChangeListener and reloads the ExtractedColors. - Whenever Launcher loads Extractecolors, it also re-colors items (currently a no-op). Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
7eab3cc374aeaaa6e305a3f583901da9844dfe08 |
|
19-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing broken instrumentation tests when run from command line Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
bf67f3b1847c435bbaf19600ec7babbb9d4c7674 |
|
15-Mar-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Creating database without localized collators on NYC and above Android automatically creates and maintains a metaData table to store the current device locale. This is used when fetching sorted results. Since Laucher does not require string based sorting on its tables, we can avoid unnecessary IO by disabling this feature Bug: 24608776 Change-Id: I8bbf5ca3abd505be95a85cfc99dd0438966575e9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
8f3819bc51bba9e1c9a338827474a9b6e6dd07db |
|
23-Feb-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Preserving the homescreen rotation setting on a tablet, when the display is scaled Bug: 27040652 Change-Id: I07f5e02443379ac5b877f72d33cedf4f2feca926
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
ad37152c14c716f678d07dd568811a9704c2a9c8 |
|
29-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of b171e5675b to ub-launcher3-calgary. Change-Id: I329c7518d8c3f0f43e96c6446d5b53a6f4439211
|
b171e5675b91e6e4fc1cf741b3b2d0313ad2fe27 |
|
22-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a method to throttle backup manager calls Notifying backup manager when a boolean preference changes Bug: 22885775 Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f076eae0cab10f035f7b187c72a680cd220acf1b |
|
11-Jan-2016 |
Sunny Goyal <sunnygoyal@google.com> |
Adding support for migrating the grid between any two valid screens sizes. The grid is migrated in steps where each step consists of at max one column change and at max one row change. Adding some unit tests for GridMigrationLogic Bug: 25958224 Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d7d5bd878ac95632f9a97325358238a0acc10845 |
|
19-Dec-2015 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of ffa1237698 to ub-launcher3-master. Change-Id: I65beecb5bbbfe9c4b33d6ca639118cb615c4120a
|
d80439875557e8c94052e5b0f0327b656370b5fd |
|
18-Dec-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread Bug: 25903149 Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
aefc0c4dd0589d2ef423caf26c11068b5cb59722 |
|
11-Dec-2015 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of e5ef3d2e9b to ub-launcher3-master. Change-Id: I37cbbe4f51cc0a8de8071434020ec1553241da85
|
d3849d191bc0bd2d561cf03018ad90b896b13c56 |
|
29-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Moving DB creation to background thread Change-Id: I5404edd8df7160108c230d245f34bf8e24173619
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
33f90e7b55abbaf110bfb2728ded8949c08b8134 |
|
30-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Clearing DB instead of deleting the DB file. > Deleting a file/reinitializing the openHelper variable is not thread safe and can cause the sqlite instance ot go in an invalid state Change-Id: I54d992c7e3daee82e6dad38d6bfbfcbf8ede506c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
0c34443406cd441566dd1d51d05a431a974f8edd |
|
24-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of 7bce5f7988 to ub-launcher3-master. Change-Id: Id352ce219bed7701956bb462ea2dd0a5aebe7317
|
7bce5f7988d63e6f64db4b8482f781cc63820246 |
|
24-Nov-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Tying LauncherAppState lifecycle with LauncherProvider The content provider is the first component started with the main process, which makes it ideal for initiating LauncherAppState Change-Id: I03db82a8949ad1376af53a0033592f421dbf0b15
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d249748abf357925b326d57ab68eb6c2b23c4ef6 |
|
23-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Making all provider calls using content resolver. This will allow us to easily move db creation out of onCreate Change-Id: Idd949624b0a9c95e4451e48db7764b7b7922c40a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f912beb2ee4b75af1fe8c710d6948b9737fed531 |
|
20-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
resolve merge conflicts of fe3db428ab to ub-launcher3-master. Change-Id: Icc60a61f621fefe9db67b178921e62f7d72d7e5a
|
f725824fa2091cab44cf1bcbfe5b5b8d06475560 |
|
20-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Refactoring getPreferenceKey method This method was returnning a constant and getting inlined by proguard. Change-Id: I87348e25b21483adc1b27d16f99dec4b73205701
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
6280893534c6eef3497e246eb5ece7f7159f6f47 |
|
07-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
am 6fb929e0: Verifying that the table was successfully created during initialzation * commit '6fb929e0038a9d03b60540fdbf6b6914146f7b21': Verifying that the table was successfully created during initialzation
|
6fb929e0038a9d03b60540fdbf6b6914146f7b21 |
|
23-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Verifying that the table was successfully created during initialzation Table creation sometimes fails scilently, which leads to a crash loop. This way, we will try to create a table every time after crash, so the device would eventually be able to recover. Bug: 24263894 Change-Id: Ic0169d33f4092042423afa24320182786c544d47
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a13654529cb557abd946da4d4637593565917ecd |
|
02-Oct-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding some information in bug reports > Dumping workspace items > Dumping loader logs for crashes and data deletion > Removing unnecessary log dumps Change-Id: Ia320988c2e3665e4d605d6e88bca77738e749273
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
4cffb0c466911f42b53dac85fd13e82cdf16890d |
|
09-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
am c74e4197: Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chani * commit 'c74e41973a74aa416e16aeadaa2f491153da26bc': Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters
|
c74e41973a74aa416e16aeadaa2f491153da26bc |
|
08-Sep-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Restoring provider behavior for reloading app on old devices > For older devices, launcher will only reload in case of inserts with specific query parameters > For older devices, launcehr will notify content observers of any internal inserts > Chaning TAG for Launcher provider as max logging tag is only 23 characters Bug: 23821706 Change-Id: I32891387612d967c41ddae848c43dc4b1de1b0e9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c268148f06f5c6c30deb1678e74530ef5aa85a67 |
|
17-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
resolved conflicts for merge of 9fc953b9 to ub-launcher3-master Change-Id: Ia3e845a2e336c846cceefdc2d1e8c6786753f1b1
|
9fc953b94dbc6b99e6de08c9dcc80a0cb8e3e319 |
|
17-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Version code cleanup > Renaming Lmp to Lollipop > Lollipop_MR1 instead of directly using 22 > Using M APIs directly instead of reflection Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
42e28092b336bf89bee94c61e2cd327e1d8ec882 |
|
17-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some eclipse warnings Change-Id: I160feaee81b262be02446885fae643c0be71b7af
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d106418dee16b041f30682540fbd3ca3d841b7af |
|
13-Aug-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Reloading launcher whenever there is an external update to contentprovider, irrespective of the uri Change-Id: If1a06da57171be30adb74f09ac256a8b03ab8549
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e5bb705fb79f18df8680958dcf2c5460e16c90b6 |
|
27-Jul-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Homescreen migration from a larger grid to a smaller grid. Adding support for restoring from a larger device, if the grid size difference is not more that 1. During restore add all the items in the DB, and run a one-time migration the next time launcher starts. The migration strategy is defined in ShrinkWorkspaceTask.java which involves resizing, moving and removing some items. Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c22841bfd1961781a84cfccb98d1c2937a9adee4 |
|
14-Jul-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing shortcuts not getting migrated to app icons Bug: 22410445 Change-Id: I939c59270529daf51638aa30b30763c18a2ce6a5
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
4e5cc64eaf1f63d866d51ce0a6bbafb3d4085c21 |
|
26-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing backup restore > Not deleting icons from cache, which have not been restored yet > Not checking if activity exists during DB migration. Missing components are removed during loader anyway > Backing up and restoring bitmaps even when iconType is resource. This allows us to show a proper bitmap icon, until the correct resource is available. > Loading proper shortcutResource icon for promiseIcons > Checking against promise intent when verifying duplicates > A launcher App intent can contain EXTRA_PROFILE Bug: 22094970 Change-Id: I982971338846733833ec133119393af0bea0eb08
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
27f03251ea8b563dc385094e8d03f9fc1dc9390d |
|
18-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Deleting empty folders based on DB state" into ub-launcher3-burnaby
|
b4cbea4ad4ce06b591603a47f86cfd9df838ccb1 |
|
17-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing nullpointer when creating new DB LauncherProvider is not ready until the DBHelper is created Change-Id: Iabd61005892f15fd4a31d882100d87df2b2a7b85
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
383c507c47a5abf3258fc04220f37c366f983a97 |
|
13-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing ContentObserver in launcher > Using callback insted of using a content observer > Setting the listener in LauncherAppState to prevent resource leak Change-Id: Id23a4d5c8812e86178997e536226e09ec3740f84
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
b1622cc30f2fd9b579cb918083e063685950df92 |
|
11-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Deleting empty folders based on DB state > Previously folders were getting deleted based on in-memory loader state. If for some reason, an item failed to load, we would delete the folder from DB as well. Bug: 21354058 Change-Id: I5318ee8a99afa9cafd93ed2b9ef0e155f502a41b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
7779d62308b87ca26e3be47df836893f6f7693ec |
|
12-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Using content provider to update launcher settings > Removing cross process preference file > Removed broadcast listener management for settings changes > Defining content provider method to get/set laucnehr preferences Change-Id: Ida36eac0ab17c1d48fedc9404817a53a89b36c4f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
4f3e9383eb422c87e2689548653b89f34f5516a5 |
|
05-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Code cleanup > Removing obsolete logging > Removing unused methods > Removing resource leak warning due to non-static handler class in launcher Change-Id: Ic38cc8aea82899b0b5ee3235f04e5964e49245fb
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
316490e636aad788fcfbfc2e04dd4f0e145bdd00 |
|
02-Jun-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing some synthetic method creation > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
2e6da1539bc7286336b3c24d96ab76434939ce4d |
|
06-May-2015 |
Adam Cohen <adamcohen@google.com> |
Refactoring DeviceProfile -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5c97f51fd9443e461a360ff7852aa223c05d667f |
|
20-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Icons are not updated to TYPE_APPLICATION during restore > Use low res only for app shortcuts > Running icon migration after restore > Running icon migration again for all users > Deduping shortcuts added from widget tray Bug: 20945600 Change-Id: I3bb47545fdd9832510069026fbae8966d2311cc1
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e2fba6cba10d9b7996ebb86dfd67bed96cff0ded |
|
12-May-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Prevent work folder creation when launcher is upgraded. Change-Id: If7a91e0852dae1bf5dcf21e89c1771b5f37629f3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
18b640c3710723df8a8528a667c373474e0a06ee |
|
17-Apr-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing LauncherProvider dependency from LauncherSettings > This ensures that the classLoader does not need to load LauncherProvider to access LauncherSettings > Making a few fields public. Change-Id: I2e8ee6e169552739f09e500d3b6acbcee7cd0718
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
0b037789662d1c16627dc5b509d1ac55bc76971b |
|
02-Apr-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Deduping shortcuts to app-shortcuts if they have a valid intent > Only deduping shortcuts for the primary user as custom shortcuts for secondary users is not supported. Change-Id: If129dee64a395602006ebb996d4b09b93b89084f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
35ca873bd9e1331765343a6cae8387431794b0af |
|
06-Apr-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding nullcheck when getting app restrictions Bug: 20085185 Change-Id: I782a79a331a2d58287e34e24ed7730207bf260cb
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
1d4a2df091e2b5928406ea503321563a0ec8a01e |
|
30-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing ContentObserver from LauncherModel, and calling reload whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
b2d46ceaaa32ece85f18e049d9e30a5ccaf80e45 |
|
26-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Configuration of workspace through app restrictions > Checking for a grid specific layout before loading the default layout Change-Id: I1e8d4176341e61d0876b0a9bea9ad8010e3a0f6a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
091440a9cb9d4f42406631004aa484cbb79214ca |
|
18-Mar-2015 |
Adam Cohen <adamcohen@google.com> |
Reducing method count by eliminating synthetic accessors Elimates 304 methods based on dex analysis The java compiler generates sythetic accessor methods for all private fields, methods and contructors accessed from inner classes. By marking them package-private and @Thunk instead, sythentic accessor methods are no longer needeed. These annotated elements should be treated as private. Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5d85c44fd873c740dc191b28424c2ee367d730a2 |
|
10-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding sort switch in FolderPagedView > Adding options column in DB to store generation purpose flags > Storing isSorted flag in FolderInfo > Adding a switch for A-Z sorting (only visible if pageCount > 1) > When in sorted mode, spring-load snaps to the target location for 1.5 seconds Change-Id: I8c7c778d2cc3ccbd35a2890a1a705e1c1a7e9a66
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d5bf4ab5f75bbfd28162d8a45043cc5801fbfcc5 |
|
09-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Refactoring max id logic to a common method" into ub-launcher3-burnaby
|
323f47f8bf24d4d9ef5281377b287431efbeada9 |
|
05-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
am c6c8fef3: Clearing DB if necessary, when applying the default layout * commit 'c6c8fef3e90f84b26c3b8550ec6a1d668ca9200d': Clearing DB if necessary, when applying the default layout
|
c6c8fef3e90f84b26c3b8550ec6a1d668ca9200d |
|
04-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Clearing DB if necessary, when applying the default layout Bug: 19574498 Change-Id: I34850d9a7f7316bcc2cb9fc8a5be57d2488c16a6
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
fe4e4b91dc7db5d373690dd4bf2f3b5f1525b68a |
|
04-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Refactoring max id logic to a common method Change-Id: I1f649b570ee43d6c0540a207693d2cbee4538fb8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
8dbf0fff1f424df8db1bbedfe8e5cfd7783a92ea |
|
03-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Setting workspace id as primary key" into ub-launcher3-burnaby
|
f30e99b2dc1d028014def047df3ea7b1bc31a3a1 |
|
02-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
am e72f3d53: Fixing wronk rowID check. * commit 'e72f3d53f8c35b94aece6fafa6fd12cce9d09fe5': Fixing wronk rowID check.
|
e72f3d53f8c35b94aece6fafa6fd12cce9d09fe5 |
|
02-Mar-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing wronk rowID check. Since screenId is changed to primary key, the rowId can now be 0 (earlier it was auto-increment and never 0) Bug: 19566734 Change-Id: Icf0e4294a581039101df1ad1756fdb6e581c4cba
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d2f3819c34d8ecdfdb42bf973b6db3aac259bd62 |
|
25-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Setting workspace id as primary key Bug: 19475231 Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
633325c4c22061c745ff89f9141f18cca29b352b |
|
25-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
DO NOT MERGE: Setting workspace id as primary key Bug: 19475231 Change-Id: I0385e97868db73dafe148ce45af7dda4555ee593
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
14334bda039b0f70980e8782e379c5df059a5d6e |
|
12-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Merge "Removing code for the unused 'upgrade path'" into ub-launcher3-master
|
d3f035797e85cae0d64ddc1be58dcc88ac246109 |
|
12-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
am c87775d8: Fixing rank migration code to handle null values correctly. * commit 'c87775d8e63c7b5722c23ef95c782f574b847d73': Fixing rank migration code to handle null values correctly.
|
66cfdc2549b973496f2d5555defc22b7a15b5620 |
|
02-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Removing code for the unused 'upgrade path' Change-Id: Ib9eca92284b0eabbe36ffaaf26c62a6ce3cfd3e9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c87775d8e63c7b5722c23ef95c782f574b847d73 |
|
11-Feb-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Fixing rank migration code to handle null values correctly. Bug: 19297508 Change-Id: I652ef30ab37f5b09204f0388de8e065d64b7724d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
7034f1467dfa1b4e3e1acccb5af086d32e498fa6 |
|
26-Jan-2015 |
Nilesh Agrawal <nileshagrawal@google.com> |
am a258f812: Modify strict mode thread policy for LauncherProvider. * commit 'a258f812fac21767d1f2e61ee7a7a58bfe6da582': Modify strict mode thread policy for LauncherProvider.
|
a258f812fac21767d1f2e61ee7a7a58bfe6da582 |
|
26-Jan-2015 |
Nilesh Agrawal <nileshagrawal@google.com> |
Modify strict mode thread policy for LauncherProvider. Allowing thread writes too as SQLiteOpenHelper.getWritableDatabase needs it. Bug: 19094644 Change-Id: I39fe97a9e7fc07c38a4f8e5c5979196b742e36bf
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d8c2a43efa74b5c8d0a14b07b36776f2f017c637 |
|
21-Jan-2015 |
Nilesh Agrawal <nileshagrawal@google.com> |
am fde11852: Add strict mode exception in LauncherProvider. * commit 'fde11852cf0f91c4500a93dfffb44c1b86991e6e': Add strict mode exception in LauncherProvider.
|
fde11852cf0f91c4500a93dfffb44c1b86991e6e |
|
21-Jan-2015 |
Nilesh Agrawal <nileshagrawal@google.com> |
Add strict mode exception in LauncherProvider. Content providers are created during process startup (before Application.onCreate), and we should not be doing expensive stuff in Provider.onCreate Adding an exception for now as it looks like LauncherProvider initialization is needed before we can show meaningful UI. Bug: 19094644 Change-Id: I860c2934c110d3a43f1a3afa00729077dc64796c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a2cc624e75e41f1439d738ea6cb69802dc9652be |
|
14-Jan-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Changing DB upgrade path to use swith case statement. > This allows to cancel the whole upgrade path if any one step fails and reset the DB Change-Id: I645b74af8afcd21dda0d619691a5fb3dbf1a04c0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
08f7261d11a53ae4b330ad4fa897b8519de3d750 |
|
05-Jan-2015 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a rank column for itemInfo > Rank is used to determine position of an item in a folder. Bug: 18590192 Change-Id: I2826a7c570b4cc58e719d685f17a24ec6133804f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e87e6abc3639559f2746171999fee352cb5bd946 |
|
22-Nov-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Removing dead code from Launcher provider > Removing DB upgrade logic for versions before 12. Launcher3 was forked off Launcher2 when DB version was already 12, so, there can never be a lower version of the DB. > Removing logic for auto import of launcher2 DB. This flow had been permanently disabled by a flag, and we show a confirmation prompt/cling before migration Change-Id: I2ac2f21fefc41ee247164566a088927263b09459
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
416541cc0e03ccd919d5669f0d06ef42a3b7ff21 |
|
14-Nov-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Adding a few null checks. 1) During migration, if launcher2 has deleted user data, migration oes not happen 2) If Launcher3 does not has bind widget permission, QSB would be null. Bug: 18388507 Change-Id: Ief81f6f77ce154e7b3ecd4b77caf24239401e738
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
594d76dc66cb5666830b62594909fed187987d42 |
|
06-Nov-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Using the default search widget in Launcher3 > Removing all logic related to search and voice overlays from Launcher3 > Using the widget provided by global search provider on the homescreen > Removing VoiceButtonProxy, as it is not being used anymore Change-Id: Ie8b09b44f7213c8fa11bce685914442e4884295d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
33d443897658e6ad8b76bd2e58e3598161fd3ead |
|
16-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Updating backup restore logic > Adding DeviceProfile information in the backup > Removing SharedPreference backup > Adding helper methods to abort backup in the middle > Comparing keys against the backup journal during restore to avoid restoring corrupt/lost entries > Old backups are still compatible, but lost keys verification will be ignored in that case. Bug: 17937935 Bug: 17951775 Bug: 17260941 Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
9d219685c5f008ddfb0f72ef01831308d8a81c2e |
|
23-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Loading internal default layout if partner layout fails to load Bug: 18033885 Change-Id: I8399d0107cc3570c0e03d833601abf2cd194b3d3
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a33f11e20a62bf49596c0dcd8741e3944a57b2f9 |
|
24-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
Was seeing some duplicated icons in the migration flow -> The only delta between the two icons was slightly different flags -> No need to consider flags for the purposes of duplication Change-Id: I161f6ad6023d829e5ebbb15f1a9fbc9306795d80
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
3a5a9d18daacb878a3eb379fce540ee6c67063e6 |
|
02-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Refactoring layout parsing code Change-Id: Iee5b2280cb1e841bcfe91fdcf523de6fa7f7f3b8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
cee8c66f9a688705f7880f2bffc9d2f95803eb81 |
|
16-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
Adding ability to list folder items in separate file -> remove all apps default layouts Bug 17569015 Change-Id: I39b899b61d5b1cff2d7801d281dacfc804c403c5
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
951e8812abb5a104abbbdd708e69262aa539e6d2 |
|
15-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
am ae5f7ce8: Merge "Fixing typo from previous CL" into ub-now-porkchop * commit 'ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8': Fixing typo from previous CL
|
4079337ea73706931cae80f35aba8375ff729816 |
|
15-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
am 755dd702: Merge "Fix missing screen when adding widget directly to provider" into ub-now-porkchop * commit '755dd70238162d0b631a8a17c42047c61318be30': Fix missing screen when adding widget directly to provider
|
d61a638e992ccdd2ea7fbc59dd2c5047c0e3051b |
|
15-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
Fixing typo from previous CL Bug 17969770 Change-Id: I4ea04864000d2ed8368ca81ba8cff42b4208d13d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
eb1ac42fd479cfd9b8e58220173c8bea5c69b649 |
|
14-Oct-2014 |
Adam Cohen <adamcohen@google.com> |
Fix missing screen when adding widget directly to provider bug: 17969770 Change-Id: Icbd8451d8adde0519917a7bf06365517405759fe
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
2fce90c38a79d318e96a28107dea287e42509861 |
|
07-Oct-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Cleaning up icon resizing code > For resizing icons, scaling them down instead of cropping them > Removing duplicate methods and variables Bug: 17663119 Change-Id: I0f270860c0edaaa939495e63e05da841a603f6e9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
4fbbb3e3e0e135bc5b304bc63637bbc8b54fb5d8 |
|
06-Oct-2014 |
Helena Josol <helenajosol@google.com> |
Create a central list of files the Launcher writes to the app directory Replace hardcoded Launcher filenames with the defined constants. Bug: 12753154 Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
42de82ff8d2aa182594709e63e608bbcd4610cfa |
|
27-Sep-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Resetting launcherProvider data if restore set was empty Bug: 17332300 Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
4ae96ce92df7aad3c767c68b8795b80734e01829 |
|
30-Aug-2014 |
Adam Cohen <adamcohen@google.com> |
Add ability for Partner customization apk to override certain DeviceProfile params -> Workspace row / col counts -> All apps row / col counts -> Workspace icon size issue 17208277 Change-Id: I25cfafede4da783083593b9bfeff4e5ba7751d36
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c3009c06d9e09054191a207349e08a2e7660a776 |
|
20-Aug-2014 |
Jason Monk <jmonk@google.com> |
Change URI favorite resolving to use launch intents Rather than dropping the user in the middle of the app wherever our intent resolves to, add a shortcut to the launch intent of the app that handles that intent. Bug: 16459162 Change-Id: I58256cdc9dc1b3441815f60cc354b60f91fb1a16
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
0fe505bf82a265e51c556d7204976651cde7f55c |
|
06-Aug-2014 |
Sunny Goyal <sunnygoyal@google.com> |
Autoinstalls loading xml > Launcher checkes for an apk in the system image with a broadcast receiver for action: com.android.launcher3.action.LAUNCHER_CUSTOMIZATION > Default layout is parsed from that apk, which can also contain icons and string resources used in the layout config Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
7ec3bbff8b6364dc609eb06ba85e6f3bb999c67e |
|
31-Jul-2014 |
Adam Cohen <adamcohen@google.com> |
Fix screen issues with externally added items -> Ensure that when an item is added to the db from an external source that the screen id exists. -> If the screen id does not exist, add that id as the largest rank Change-Id: I98d68900c428d80666dab1909418c6d9b0f52e10 (cherry picked from commit 484526620012f88bcd9d5656a71d4218a9acd090)
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
43f3ca0f8c424415dfa0cd6c269900638da3d21c |
|
25-Jul-2014 |
Adam Cohen <adamcohen@google.com> |
Fix resource issue in folders of partner layouts -> Resources in folders were not being loaded with the partner apk resources. This caused any number of weird things to appear in folders of partner default layouts Change-Id: I7d373e53028c5c327980c15d004993af997de553
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
3ed316a71d5ec5be2e25ba0a993ebd71a260217c |
|
24-Jul-2014 |
Adam Cohen <adamcohen@google.com> |
Adding broadcast to indicate first launcher load -> fixing small thing from previous CL issue 16191557 Change-Id: I015859f6028066e7c8664436f291ed226a539e29
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a043fa89211541c71b5bef052ebc49f722d338b9 |
|
23-Jul-2014 |
Adam Cohen <adamcohen@google.com> |
When inserting directly into LauncherProvider, ensure item id and widget id are valid -> We generate an item id, and allocate and bind a widget id if necessary when items are added to the LauncherProvider externally. Writing to the provider is protected by system|signature. issue 16191557 Change-Id: I09472e41ad4c8302901a5e49b5817247e9b86695
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
9b8f51fcc85805436bee619a927e2222005e9e09 |
|
31-May-2014 |
Adam Cohen <adamcohen@google.com> |
Adding ability for partners to specify a default layout Change-Id: Ib071faa4b41d13961c3a33b865b40a644631c08a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
9b1d062b0f1c4714883444df874e1a078764caa1 |
|
22-May-2014 |
Adam Cohen <adamcohen@google.com> |
Make sure we can handle database downgrade (by wiping and starting fresh) issue 15144138 Change-Id: I59aad7445d2aaaaede1cba6754e047f05a2859ae
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
dbc46f5e05d035524eff7fb1ea3ac8681b6b673a |
|
16-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "Adding support for dynamically resolved default layouts." into ub-now-nova
|
be87647e2ade2f442159e60da81d1c5a57eba8a9 |
|
14-May-2014 |
Winson Chung <winsonc@google.com> |
Adding support for dynamically resolved default layouts. Change-Id: Id05c60b93423ce37dd06a126ecf33c74a0ba1d62
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
71483f417bb19f524cda41081f5ccac6084dc103 |
|
15-May-2014 |
Adam Cohen <adamcohen@google.com> |
Removing antiquated migration path logic -> also added some extra debugging for issue 14466459 Change-Id: I1ac9352c52c15d3e37f945cffabbca49343d2b8f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
ed13187a745866483139e2878037e1f8427ce567 |
|
30-Apr-2014 |
Kenny Guy <kennyguy@google.com> |
Launcher3 multi-profile support Use LauncherApps API and badging APIs instead of PackageManager. With compatability layer that uses PackageManager pre L. Adds support to show apps from current user and any managed profiles. Background: Managed profiles are user sandboxes that are visible from the primary user and can be launched as if they are a part of this user. A launcher should now be capable of listing apps from this user as well as related profiles of this user. Launching of activities is now via the LauncherApps interface, to allow for cross-profile app launching. Only activities with category LAUNCHER can be added as a shortcut on the workspace for a managed profile. Widgets and non-application shortcuts are only supported for the current profile. Widgets from the managed profile are not available. Change-Id: I5f396b1bf7f91ad91a5710ea4a0fd14573972eb9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
16f645542a527c3b39e7e365c379d7a66f47e4ea |
|
23-Apr-2014 |
Adam Cohen <adamcohen@google.com> |
Merge "Second try removing orphaned items from the database" into ub-now-nova
|
f9c14de995d31a19123397c10e4f43bd0fe9eb56 |
|
18-Apr-2014 |
Adam Cohen <adamcohen@google.com> |
Second try removing orphaned items from the database -> Delete items contained directly on the desktop whose screens no longer exist (do not remove items contained in hotseat or folders, except as described below) -> Delete items contained by folder ids which are no longer present (ie. orphaned as their parent folder no long exists) Change-Id: I2f47cc970ce00677cb1c83c0f0a2d13b6f16a33e
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5aeef58131e1c330d1d9c1dfcacf2e6eea6ced4b |
|
14-Apr-2014 |
Jeff Sharkey <jsharkey@android.com> |
Add support for partner customization. Traditionally Launcher workspace customization is offered through overlays at build time, but we don't have access to partner-specific customization at build time. To solve this, this adds a new "partner-folder" tag which points at an XML resource provided by an external package. The external package XML can't depend on the binary XML attributes defined by Launcher3, so we switch to using manual string-based attribute lookups. Partners can also provide extra wallpapers. When a folder only results in a single item, promote that item into the folder location instead of deleting completely. Bug: 13340779 Change-Id: Ide558288bef4113565f288b700d8245055c0fee9
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
76ac344cb61a74267c04249c9e9feec41a82c504 |
|
17-Apr-2014 |
Adam Cohen <adamcohen@google.com> |
Merge "Allow the old launcher content URI to be overrided" into ub-now-mister-ugly
|
a7946070dc2e4ff43fe7e7c882c6bbea050a871f |
|
11-Apr-2014 |
Adam Cohen <adamcohen@google.com> |
Fix serious data loss issue for folders and hotseat items Change-Id: I37a5b44c670c2a1f99eb97b77cfdbc78534fdf91 bug 13964735
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
119285e755f8572632dc845d72320d9eed378f69 |
|
03-Apr-2014 |
Adam Cohen <adamcohen@google.com> |
Cleanup orphaned workspace items on db upgrade -> Any workspace item whose screen id is not present in the screens table is removed from the database. This is intended to restore database consistency. issue 13741729 Change-Id: I9a04b4165f1d85541025fcf48ddf2ad9e39ae94e
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
0bfccebc9b276b857c992790232cc8477a8a3504 |
|
21-Mar-2014 |
Jason Monk <jmonk@google.com> |
Allow the old launcher content URI to be overrided Move the URI used to import favorites from launcher2 to be loaded from a string resource. This allows it to be overridden. This will enable permissions fix for GoogleSearch. Bug: 12058200 Change-Id: I31243fe89f545c9771d5cceffe1c9e7668a42bc5
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
67e7cae5ad97ec5702bbd739c4272e3cfa17556d |
|
13-Mar-2014 |
Anjali Koppal <akoppal@google.com> |
Add LauncherProviderChangeListener Change-Id: I2333a157c488cd048a860982cc675ed9cec626ae
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
9364986c83d275509229e5f24ff2b1a27c7842b7 |
|
10-Mar-2014 |
Jason Monk <jmonk@google.com> |
Merge "Add support for uri favorites and resolve groups" into ub-now-mister-ugly
|
41314973b44202fd0d1daea3e67bdc92e9110989 |
|
03-Mar-2014 |
Jason Monk <jmonk@google.com> |
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
ab5fa3a06ad7203a7bdab899f1951d9e9dc92d5f |
|
07-Mar-2014 |
Dan Sandler <dsandler@android.com> |
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
71e03b9979b5ee4c30daa7eb0a704ec92b38431b |
|
21-Feb-2014 |
Adam Cohen <adamcohen@google.com> |
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
085c853a5702c45865e9b017d21fa15cf2b151b9 |
|
11-Feb-2014 |
Yura <yura@google.com> |
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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f4d081107f5984bfb92cb1a627667fea5bf1498c |
|
17-Jan-2014 |
Chris Wren <cwren@android.com> |
handle shortcut restore for missing packages Bug: 10778992 Change-Id: I8766b8d4dd9c0269d52a7ec3da58dd408bc5f09f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
7a9cda18eb31b5ab47d7eca064374eaa6efdc268 |
|
25-Jan-2014 |
Dan Sandler <dsandler@android.com> |
Merge "Defend against missing DB during migration." into jb-ub-now-kermit
|
0b560dda27dfd341393c1290798a709e6ae57987 |
|
21-Jan-2014 |
Winson Chung <winsonc@google.com> |
Adding tighter first run checks for migration clings. (Bug 12626290) Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
2b4717447e7afddf1011875fe70971b6e105f4c5 |
|
21-Jan-2014 |
Dan Sandler <dsandler@android.com> |
Defend against missing DB during migration. Bug: 12600784 Change-Id: Ie295d2ac970eab798b9826748d400cd30a04662d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
72960975d8367e7ce789d8a5b6f0763fb0ec78bf |
|
16-Jan-2014 |
Adam Cohen <adamcohen@google.com> |
Migration update: ensuring all folders go first -> 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
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
556f6135f992dcd5bfbfffe0172627bfbf57d24e |
|
16-Jan-2014 |
Adam Cohen <adamcohen@google.com> |
Don't migrate shortcuts for components that no longer exist Bug 12570791 Change-Id: Ie4b55afcee0c4d1d16acf7b830d7885800943454
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5dee7aff5fa8774d37977d12df7ce8986752321d |
|
20-Dec-2013 |
Chris Wren <cwren@android.com> |
restore app favorites and screens version 0: restore assuming apps are already installed. Bug: 10779035 Change-Id: I7f9aa418a7d3d5460a79a229c0fbc80305b5eb5c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
8b5b05b7f3c8c5d705116c425bd5dbff2b75d56a |
|
10-Jan-2014 |
Adam Cohen <adamcohen@google.com> |
Merge "New launcher2 icon migration algorithm." into jb-ub-now-kermit
|
d502404a44fb7c4ea739622d7f8bdd2a764d97a1 |
|
09-Jan-2014 |
Dan Sandler <dsandler@android.com> |
New launcher2 icon migration algorithm. The user will be able to request "icon migration", which is not a direct mapping of the old workspace, but rather follows this heuristic for bringing the user's favorite icons (by dint of their existence on the workspace) into Launcher3: Workspace shortcuts are placed in lexicographic order on the workspace starting at screen 0 (leaving the bottom row of screen 0 empty to make sure there's room to move things around). Folders are preserved and their contents sorted. Duplicate icons (that is, shortcuts with the same intent, pursuant to some cleanups) are removed. Hotseat icons are migrated in their original place, unless their new location is not accommodated by the hotseat (i.e. the L3 hotseat is too small on this device), in which case they're treated like any other shortcut and tossed into the workspace. To test, turn on Launcher.ENABLE_DEBUG_INTENTS and then: $ adb shell am broadcast -a com.android.launcher3.action.DELETE_DATABASE $ adb shell am broadcast -a com.android.launcher3.action.MIGRATE_DATABASE Bug: 12416411 Change-Id: Ia5c56f36c11455867ea20a39f70210f595020a87
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
16f3ea870aac47292cd6cbe1a4b4343173097aa9 |
|
10-Jan-2014 |
Nilesh Agrawal <nileshagrawal@google.com> |
Allow DISABLE_ALL_APPS to be set using a system property. - Moving the property to LauncherAppState - The property is only read on dogfood builds. The property can be set using setprop or /data/local.prop Change-Id: I14c7354efb12edb93f97e81687a6f920cc634e9a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
da41ea669890a79a4d2bc57dab9ae03157fd9e75 |
|
09-Dec-2013 |
Nilesh Agrawal <nileshagrawal@google.com> |
Allow 5 hotseat icons in DISABLE_ALL_APPS mode. Added the xml resource in Launcher3 package as well. This is a dummy resource with just hotseat icons. Previously reviewed on: http://ag/396580 Change-Id: I31b0d7d4796d028f44f746260c381f2d8226605a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d85ee9b994e21cb500c89349ce31ce89e564b513 |
|
09-Dec-2013 |
Nilesh Agrawal <nileshagrawal@google.com> |
Revert "Allow 5 hotseat icons in DISABLE_ALL_APPS mode." This reverts commit f4ed1be4ef22c87b002c3bca90d130eb77fe5535. This broke the build: packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java:292: cannot find symbol symbol : variable default_workspace_no_all_apps location: class com.android.launcher3.R.xml return R.xml.default_workspace_no_all_apps; Change-Id: I40e80494f06f08de3d827c6816075ac4d269ea6a
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f4ed1be4ef22c87b002c3bca90d130eb77fe5535 |
|
07-Dec-2013 |
Nilesh Agrawal <nileshagrawal@google.com> |
Allow 5 hotseat icons in DISABLE_ALL_APPS mode. Change-Id: I71510cf079e211bd53e411e6e43f1bc6475f6d35
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
b3084e87fcf7b617899b3c858d5372d079e0fe36 |
|
03-Dec-2013 |
Dan Sandler <dsandler@android.com> |
Merge "Revert "Revert "Enable Launcher2 workspace import.""" into jb-ub-now-jolly-elf
|
6dbe049431741a9dfa05f7eee144335e9da76281 |
|
03-Dec-2013 |
Adam Cohen <adamcohen@google.com> |
Only import workspaces for non-tablets (where grid hasn't changed) Change-Id: I832b6259477d6325c141fddfe9b50cb05aeff8d2
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d0e4118f2e87f890fb243c47d87dc47fcdd068ee |
|
02-Dec-2013 |
Dan Sandler <dsandler@android.com> |
Revert "Revert "Enable Launcher2 workspace import."" This reverts commit a6a296ba1ffba6c5b98e92f05254f0317f28290b. https://memegen.googleplex.com/5476445807706112 Bug: 9832552
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a6a296ba1ffba6c5b98e92f05254f0317f28290b |
|
26-Nov-2013 |
Dan Sandler <dsandler@android.com> |
Revert "Enable Launcher2 workspace import." This reverts commit 5b3bdd394e4401d7e91d528ef1d424d1af271d97. Bug: 11768766 Bug: 9832552
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5b3bdd394e4401d7e91d528ef1d424d1af271d97 |
|
21-Nov-2013 |
Dan Sandler <dsandler@android.com> |
Enable Launcher2 workspace import. Bug: 11800663 Change-Id: I5c8963bde69e667bf726d1f926a913c347294e16
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
f0b8dacf1516e0d901c71109c906dc15ef855fc5 |
|
19-Nov-2013 |
Dan Sandler <dsandler@android.com> |
Disable importing workspaces from Launcher2. Bug: 9832552 Bug: 11761032 Change-Id: I4dfd16046e9d6d0d1d864dff4340b0ed13cc8b8f
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
a90303bb6fdad59e4a55855edba68c9902192599 |
|
15-Nov-2013 |
Winson Chung <winsonc@google.com> |
Adding logs to track down missing workspace screen. (Bug 11683562) Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
55585dbc1d5d9281416f346167832f2a2f443c0c |
|
23-Oct-2013 |
Daniel Sandler <dsandler@android.com> |
Fix loading widgets in <include>d workspaces. Resetting the item id was breaking the widget loading code and is totally unnecessary. Bug: 11352675 Change-Id: I2e70e542ecc5d8c0664b674ebdac5d520b71b8a0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e523e70f75ff90ca5d613fb8398d37208e6cd32d |
|
09-Oct-2013 |
Chris Wren <cwren@android.com> |
move the provider authority to a config class Bug: 10816034 Change-Id: I68364081f039f94205b805a1510eb04e6f0f40a2
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
92aa423826b9e4e83d5d32e364930399785b3e84 |
|
04-Oct-2013 |
Chris Wren <cwren@android.com> |
move to backup helper architecture add journals to DecoderRing, for backup debugging Bug: 10778984 Change-Id: I38e93853c05f72468b3800c172b96effc70a63e0
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
57dac26fe08bfd04603a96c4aec615336b38b4d9 |
|
03-Oct-2013 |
Daniel Sandler <dsandler@android.com> |
Add support for <include> in workspace XML. Note that this doesn't honor folder nesting (that is, you can't include an XML file full of shortcuts inside a <folder> node and expect them all to appear in that folder). It's really just a way to concatenate/overlay multiple XML files, making it easier to make a few tweaks/additions for certain screen sizes or locales. Bug: 10932771 Change-Id: I1fc29477d0717a8a7bc116f16729a955e6c625d5
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
1ada10d5950f45aba998a7722bfde2e529201f48 |
|
14-Sep-2013 |
Chris Wren <cwren@android.com> |
add a backup agent. backup only, restore path is just debugging/verification. todo: restore path todo: additional asset backup for widgets and launcher items Bug: 10778984 Change-Id: I01aed4794a02f03daf21bca28f99cfbea90e4967
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
d5e66bfca1dc4fdbab7513d88c6568bc4d17bca8 |
|
16-Sep-2013 |
Chris Wren <cwren@android.com> |
remember the provider path when creating a widget. Bug: 10779026 Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
5f8afe6280eae34620067696173e71943e1a30a3 |
|
13-Aug-2013 |
Winson Chung <winsonc@google.com> |
Initial Changes for Dynamic Grid Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
c763c4e4d28c256d1368be3fc1c4526c8b9bd232 |
|
19-Jul-2013 |
Winson Chung <winsonc@google.com> |
Verifying that new applications are added and fixing issue with new items getting wrong ids. - Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e4f9891f01bdc10d8f96e4e2429e2f4d0558238b |
|
25-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Lazily instantiate LauncherAppState. The application context for LauncherAppState is supplied by the application whenever it starts; don't ask for an instance before that. Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
dcd297f05a866e07090d6e2af8fb4b15f28cb555 |
|
18-Jun-2013 |
Adam Cohen <adamcohen@google.com> |
Initial implementation of Shrink-wrap Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
cc8befac3550c81d04ea206c170adae36c9a6c93 |
|
11-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Move LauncherApplication's state and code to LauncherAppState. This removes Launcher's static data and other state out of the Application object. Now LauncherApplication (extends Application) exists only to instantiate LauncherAppState. Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
e25af795647a19f1a0d60bc4baea5a996d215fdf |
|
07-Jun-2013 |
Adam Cohen <adamcohen@google.com> |
HACK: temporary upgrade path from com.android.launcher2 -> load old provider -> permute pages -> strip all duplicates from workspace -> add [allapps minus workspaceapps] to apps folder Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|
325dc23624160689e59fbac708cf6f222b20d025 |
|
06-Jun-2013 |
Daniel Sandler <dsandler@android.com> |
Launcher2 is now Launcher3. Changes include - moving from com.android.launcher{,2} to com.android.launcher3 - removing wallpapers - new temporary icon Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
/packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java
|