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

Verified Commit 4b95c809 authored by Fahim M. Choudhury's avatar Fahim M. Choudhury
Browse files

fix: resolve error in Tasks app

This commit introduces Tasks support to the AccountManager by:

- Adding a `tasks_model.xml` file defining various data kinds for tasks such as title, location, description, dates, priority, status, etc.
- Referencing this `tasks_model.xml` in the `AndroidManifest.xml` within the EeloAccountAuthenticator service metadata. This allows the system to recognize the account as a source for Tasks.
parent 7bdc8381
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -336,6 +336,7 @@
            <meta-data
                android:name="android.accounts.AccountAuthenticator"
                android:resource="@xml/eelo_account_authenticator" />
            <meta-data android:name="org.dmfs.tasks.TASKS" android:resource="@xml/tasks_model" />
        </service>

	    <service
+36 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (C) 2025 e Foundation
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <https://www.gnu.org/licenses/>.
  ~
  -->

<TaskSource xmlns="org.dmfs.tasks">
    <datakind kind="title" />
    <datakind kind="location" />
    <datakind kind="description" />
    <datakind kind="dtstart" />
    <datakind kind="due" />
    <datakind kind="completed" />
    <datakind kind="percent_complete" />
    <datakind kind="priority" />
    <datakind kind="classification" />
    <datakind kind="url" />
    <datakind kind="allday" />
    <datakind kind="timezone" />
    <datakind kind="rrule" />
    <datakind kind="status" />
</TaskSource>