Revert "Remove loading of legacy default favorites"

This reverts commit 54f1375c58a608e73ba0ad056d1f633877dcd2d2.

Code in the reverted commit does not actually parse anything from
`dw_phone_hotseat.xml` because `loadDefaultFavoritesIfNecessary()` tries
and fails to load the entire workspace (because the DB already exists).

It seems we would need to write our own complete parser for hotseat
resources files since the public methods available in Launcher3 only
expose functionality to parse the entire workspace and write to DB already
(and only if DB is newly created).
3 files changed
tree: f60c0a44341dcb648e64e8da1a25de8cd5a78483
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml
  5. README.md
README.md

Fairphone Launcher

Build in tree:

  • ../vendor/fairphone/packages/apps$ git clone ssh://git@gitlab.fairphone.software:2222/fp2-dev/Launcher.git