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

Skip to content
Commit b367fb75 authored by Mady Mellor's avatar Mady Mellor
Browse files

Update shortcuts to match spec

Necessary information for a shortcut is label, icon, intent. This alters
how that information is retrieved from a Slice and falls back to using
the app icon / title / intent if any of the information is missing from
the slice ensuring that there is always an actionable shortcut.

Also adds notion of HINT_HIDDEN, allowing apps to exclude parts of a slice
from being visible in a template, note when creating a shortcut HINT_HIDDEN
is ignored.

Test: Manual with SlicesApp, test different varients of having HINT_TITLE
      and not having HINT_TITLE on an action / icon / label as well as
      not having an icon / label / or action.
Bug: 68378574

Change-Id: I1de9e502204dfb7fd83a7ec7622e8fd464146cfd
parent 97a0ae3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment