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:
- Added the org.dmfs.tasks.TASKS metadata to the OpenTasksSyncAdapterService in the AndroidManifest.xml
- Created the tasks_model.xml file with the appropriate task field definitions
- 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
Edited by Fahim M. Choudhury