summaryrefslogtreecommitdiffstats
path: root/robolectric_tests/src/com/android/launcher3/model
Commit message (Collapse)AuthorAgeFilesLines
* Add support for adding promise icons for new install sessions by user.Jon Miranda2019-08-221-1/+2
| | | | | | | | | | | | | | - Added flag PROMISE_APPS_NEW_INSTALLS - Promise icons only added if flag (above) is on, as well as the setting for "Add icon to Home screen" - Maintains a list of session ids of promise icons that have been added to the home screen, so that if the user manually removes the icon, we do not add it back to the home screen when the install is completed. - Queues all applications as promise icons, and replaces with actual app info when its being added to the workspace. Bug: 135633159 Change-Id: I411db59f9bd1b346d98b9bb73f5376a5983b8de5
* Separating apps list callback from model callback and simplifying various eventsSunny Goyal2019-07-251-2/+1
| | | | | Bug: 137568159 Change-Id: I4d8bb5c01cabe642731ebd3f57fe15bdc5a569b7
* Annotating ignored tests with requests to enable themvadimt2019-04-221-3/+3
| | | | | Bug: 117106893 Change-Id: Ib8e578913ceebee44a507b5e333e7da07c6120d0
* Removing ShortcutInfoCompat and directly using ShortcutInfoSunny Goyal2019-04-221-3/+7
| | | | Change-Id: I2842689e192a206c0d31558c8126eae1c7904598
* ShortcutInfo renamed to WorkspaceItemInfoSunny Goyal2019-04-163-16/+11
| | | | | | Will get rid of ShortcutInfoCompat in a follow up cl Change-Id: I7d7d9c938635f59b216290ba28bea9d0e0721a7d
* Fixing Robolectic testsSunny Goyal2019-01-301-3/+2
| | | | | Bug: 123652178 Change-Id: Ie8b0a23fb8bd0d46ac59c26d75c81a68e6152beb
* Adding support for backing up favorites tableSunny Goyal2019-01-033-113/+250
| | | | | | | | | | | Favorites table is copied as a separate table name during the first grid migration. On subsequent migrations this backup table is used if it exists, otherwise new backup is created. The backup table is also removed if there is any insert or delete operation on the db (outside of the migration operation itself). Bug: 111850268 Bug: 121048571 Change-Id: I6f02f4a355c369ee99d89430971be258f7516f6e
* Bye bye workspace screens tableSunny Goyal2018-12-103-38/+231
| | | | | | | | | | | | | Removing a separate table for workspace screens. List of screens are automatically parsed using the items in the favorites DB. Order of the screen based on the screen id and rearranging screens is no longer supported. In case the screens need to be rearranged, all the items in the favorites db will need to be updated with new screen ids. This makes backing up the DB (in the same database) easier as only one table needs to be duplicates. Change-Id: I8ba947a898f637d780e2f49925e78604263126e8
* Get Robolectric tests passingRyan Lothian2018-11-151-0/+4
| | | | | | | | | | | | + Default SDK 28 -> 26, as >26 isn't available for unbundled make builds. + @Ignore 3 test methods that currently fail with resource-related errors. Test: RunLauncherRoboTests succeeds locally Bug: 119567714 Change-Id: Id6ea42cef050119d892b5af2b1ba1afc4c4f0b28
* Moving come tests to RoboelectricSunny Goyal2018-11-125-0/+1041
> Fixing resource loading in robo tests Change-Id: Id5b8a0e4916a2a200da7a41b03f19846834beb1f