Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

fix: resolve org.dmfs.tasks.model.ModelInflaterException generated by Tasks app

Description

Tasks app is looking for a model definition XML file from the Account Manager app but can't find it because the Account Manager app doesn't provide the required org.dmfs.tasks.TASKS metadata.

To fix the exception in Account Manager:

  1. Added the org.dmfs.tasks.TASKS metadata to the OpenTasksSyncAdapterService in the AndroidManifest.xml
  2. Created the tasks_model.xml file with the appropriate task field definitions
  3. Added the required string resources

Screenshots

Technical details

Tests

Tasks app's log shouldn't contain org.dmfs.tasks.model.ModelInflaterException any more.

Issues

https://gitlab.e.foundation/e/os/backlog/-/issues/3521

10 commandments of code review

👪 ❤️ code review guidelines

Edited by Fahim M. Choudhury

Merge request reports

Loading