summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/provider
Commit message (Collapse)AuthorAgeFilesLines
* Adding a debug flag to prevent broken downlodas from getting removed duringSunny Goyal2016-08-291-5/+15
| | | | | | | | | restore After setting this flag apps do not need to have an active settion during restore which would simplyfy debugging backup-restore bugs. Change-Id: I89f2d3ec677281887f8bab8559ace991709caadc
* Fixing the hotseat import logicSunny Goyal2016-08-241-10/+21
| | | | | | | | | | | | | | | | | The import logic following the behavior: Improt everything and force run GridMigrationTask to automatically remove broken icons. This logic would fail for hotseat as the replacement happens before the GridMigrationTask, which will not replace the broken targets appropriately The cl changes some logic only for hotseat import > After import remove any broken icons/empty folders > When adding default icons, only add as much icons as required. Since GridMigrationTask uses weights, it sometimes removes imported icon, if the hotseat size becomes too large. Bug: 30909630 Change-Id: I6ca1f25dac81649794d81aaf82c3c38d1c918d91
* Adding logic to pull in workspace data from another Launcher3 basedSunny Goyal2016-07-091-0/+451
| | | | | | | | provider. This allows OEMs to keep the user's homescreen intact while changing the default home app package. Bug: 28536314 Change-Id: Ibebfd7dd33aa2cbd9ca28d2d611dd0a4a5971444
* Removing Key-Value pair backup logic as Launcher now uses full-data backupSunny Goyal2016-06-231-2/+3
| | | | Change-Id: I3bbaec2b33afe8c1da3ca1468c7c733cc3194604
* Adding a DB update path to handle the QSB position changeSunny Goyal2016-06-152-0/+230
| | | | | | | | > 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
* Executing the DB migration during startup instead of restore.Sunny Goyal2016-06-081-0/+137
This allows proper execution of DB.onUpgrade task if the app updates after the restore Change-Id: I4c40167b30e1d7040b3a38be70d834f7b215e540