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

Commit 4883f3b6 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Fall back to default assistant

If an alterante assistant is seleceted and gets uninstalled, we want to
fall back to the default assistant. We still want to support the user
choose to explicitly selecting no assistant at all.

From the system perspective there is no difference between "the user
choose to not select a role holder" and "try to fall back to a role
holder". The permission controller stores the difference between these
choices in a shared preference and checks it when appropriate.

Test: - Selected alternate assistant and removed it -> default assistant
        was chosen
      - Selected no assistant -> settings was honored
      - Selected no assistant and triggered grantDefaultRoles -> no
        change
Bug: 110557011
Change-Id: I8b0c541e2d2483f3232e3cbe86caefb3a7bf600c
parent 4f85de48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment