Skip to content

Request account visibility #728

@dmfs

Description

@dmfs

Android 8 adds some limitations on account visibility for apps which target SDK level 26+.
In particular an app no longer sees available accounts until it has been granted a certain "visibility" on that account.
As a result, OpenTasks now removes task lists, even though the account they belong to still exists.

Sync apps should call setAccountVisibility for every account they wish to sync to OpenTasks.

We need to decide whether OpenTasks should also ask the user for access to that account. The problem is that we'll have to do that for every account which no longer exists because we won't be able to distinguish between accounts "invisible" to OpenTasks and accounts that don't exist without tracking the accounts we have been granted access to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions